commit | 55fa6091d83160ca772fc37cebae45d42695a708 | [log] [tgz] |
---|---|---|
author | Dave Chinner <dchinner@redhat.com> | Tue Mar 22 22:23:40 2011 +1100 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Mar 24 21:16:32 2011 -0400 |
tree | 4df49f372032e30449e1a2dd64daf443e20b781c | |
parent | f283c86afe6aa70b733d1ecebad5d9464943b774 [diff] |
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>