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>
This commit is contained in:

committed by
Steve French

parent
1c0bd60b56
commit
f45d34167c
@@ -233,6 +233,7 @@ cifs_alloc_inode(struct super_block *sb)
|
||||
to zero by the VFS */
|
||||
/* cifs_inode->vfs_inode.i_flags = S_NOATIME | S_NOCMTIME;*/
|
||||
INIT_LIST_HEAD(&cifs_inode->openFileList);
|
||||
INIT_LIST_HEAD(&cifs_inode->llist);
|
||||
return &cifs_inode->vfs_inode;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user