]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
fs: move i_sb_list out from under inode_lock
authorDave Chinner <dchinner@redhat.com>
Tue, 22 Mar 2011 11:23:40 +0000 (22:23 +1100)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 25 Mar 2011 01:16:32 +0000 (21:16 -0400)
commit55fa6091d83160ca772fc37cebae45d42695a708
tree4df49f372032e30449e1a2dd64daf443e20b781c
parentf283c86afe6aa70b733d1ecebad5d9464943b774
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>
fs/drop_caches.c
fs/fs-writeback.c
fs/inode.c
fs/internal.h
fs/notify/inode_mark.c
fs/quota/dquot.c