commit | a66979abad090b2765a6c6790c9fdeab996833f2 | [log] [tgz] |
---|---|---|
author | Dave Chinner <dchinner@redhat.com> | Tue Mar 22 22:23:41 2011 +1100 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Mar 24 21:17:51 2011 -0400 |
tree | e48b2d0fac8f96456286a503aeeb952620234961 | |
parent | 55fa6091d83160ca772fc37cebae45d42695a708 [diff] |
fs: move i_wb_list out from under inode_lock Protect the inode writeback list with a new global lock inode_wb_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>