diff options
Diffstat (limited to 'fs/smb/client/cached_dir.h')
| -rw-r--r-- | fs/smb/client/cached_dir.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/smb/client/cached_dir.h b/fs/smb/client/cached_dir.h index 4e5c9b86fc49..d971e664f07e 100644 --- a/fs/smb/client/cached_dir.h +++ b/fs/smb/client/cached_dir.h @@ -31,8 +31,8 @@ struct cached_dir_entries { struct cached_dir { /* Private/internal use only! */ struct list_head head; - seqlock_t seq; - struct kref ref; + struct rw_semaphore sem; + struct lockref lockref; const char *path; struct dentry *dentry; @@ -50,7 +50,8 @@ struct cached_dir { struct cached_dirs { struct list_head list; - seqlock_t seq; + struct rw_semaphore sem; + seqcount_t seq; /* tcon backreference */ struct cifs_tcon *tcon; |
