fs: move i_sb_list out from under inode_lock
Protect the per-sb inode list with a new global lock inode_sb_list_lock and use it to protect the list manipulations and traversals. This lock replaces the inode_lock as the inodes on the list can be validity checked while holding the inode->i_lock and hence the inode_lock is no longer needed to protect the list. Signed-off-by:Dave Chinner <dchinner@redhat.com> Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>
Showing
- fs/drop_caches.c 5 additions, 4 deletionsfs/drop_caches.c
- fs/fs-writeback.c 11 additions, 10 deletionsfs/fs-writeback.c
- fs/inode.c 23 additions, 20 deletionsfs/inode.c
- fs/internal.h 2 additions, 0 deletionsfs/internal.h
- fs/notify/inode_mark.c 10 additions, 10 deletionsfs/notify/inode_mark.c
- fs/quota/dquot.c 16 additions, 12 deletionsfs/quota/dquot.c
Loading
Please register or sign in to comment