diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2012-09-19 09:22:43 -0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-09-24 22:46:32 -0400 |
commit | f45d34167c67b083b54690e349e77f59062ef0ea (patch) | |
tree | 6be4f2a62e99e348e6cab03a24a1c45889a6722f /fs/cifs/cifsfs.c | |
parent | 1c0bd60b560cdf63a263f8ff3cebe9f99fe7a47c (diff) |
CIFS: Remove spinlock dependence in brlock processing
Now we need to lock/unlock a spinlock while processing brlock ops
on the inode. Move brlocks of a fid to a separate list and attach
all such lists to the inode. This let us not hold a spinlock.
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r-- | fs/cifs/cifsfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 3a3e2fee0b3..e958d943850 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
@@ -233,6 +233,7 @@ cifs_alloc_inode(struct super_block *sb) | |||
233 | to zero by the VFS */ | 233 | to zero by the VFS */ |
234 | /* cifs_inode->vfs_inode.i_flags = S_NOATIME | S_NOCMTIME;*/ | 234 | /* cifs_inode->vfs_inode.i_flags = S_NOATIME | S_NOCMTIME;*/ |
235 | INIT_LIST_HEAD(&cifs_inode->openFileList); | 235 | INIT_LIST_HEAD(&cifs_inode->openFileList); |
236 | INIT_LIST_HEAD(&cifs_inode->llist); | ||
236 | return &cifs_inode->vfs_inode; | 237 | return &cifs_inode->vfs_inode; |
237 | } | 238 | } |
238 | 239 | ||