summaryrefslogtreecommitdiff
path: root/fs/smb/server/vfs_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/smb/server/vfs_cache.h')
-rw-r--r--fs/smb/server/vfs_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/smb/server/vfs_cache.h b/fs/smb/server/vfs_cache.h
index ed44fb4e18e7..5a225e7055f1 100644
--- a/fs/smb/server/vfs_cache.h
+++ b/fs/smb/server/vfs_cache.h
@@ -47,7 +47,7 @@ struct stream {
};
struct ksmbd_inode {
- rwlock_t m_lock;
+ struct rw_semaphore m_lock;
atomic_t m_count;
atomic_t op_count;
/* opinfo count for streams */