smb: Use loff_t for directory position in cached_dirents

Change the pos field in struct cached_dirents from int to loff_t
to support large directory offsets. This avoids overflow and
matches kernel conventions for directory positions.

Reviewed-by: Paulo Alcantara (Red Hat) <pc@manguebit.org>
Signed-off-by: Bharath SM <bharathsm@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>

authored by Bharath SM and committed by Steve French 4eb11a34 a2182743

+1 -1
+1 -1
fs/smb/client/cached_dir.h
··· 26 * open file instance. 27 */ 28 struct mutex de_mutex; 29 - int pos; /* Expected ctx->pos */ 30 struct list_head entries; 31 }; 32
··· 26 * open file instance. 27 */ 28 struct mutex de_mutex; 29 + loff_t pos; /* Expected ctx->pos */ 30 struct list_head entries; 31 }; 32