diff options
author | Jan Kara <jack@suse.cz> | 2012-05-03 12:47:59 (GMT) |
---|---|---|
committer | Fengguang Wu <fengguang.wu@intel.com> | 2012-05-06 05:43:39 (GMT) |
commit | f0d07b7ffde758a27a48509ceda9a9ef413e0ea0 (patch) | |
tree | cb02c3a9e662cca039f7093b69f62b4e0838c98f /Documentation/watchdog | |
parent | ccb26b5a65867839d95156e02ea4861f64a8cbf3 (diff) | |
download | linux-fsl-qoriq-f0d07b7ffde758a27a48509ceda9a9ef413e0ea0.tar.xz |
writeback: Remove wb->list_lock from writeback_single_inode()
writeback_single_inode() doesn't need wb->list_lock for anything on entry now.
So remove the requirement. This makes locking of writeback_single_inode()
temporarily awkward (entering with i_lock, returning with i_lock and
wb->list_lock) but it will be sanitized in the next patch.
Also inode_wait_for_writeback() doesn't need wb->list_lock for anything. It was
just taking it to make usage convenient for callers but with
writeback_single_inode() changing it's not very convenient anymore. So remove
the lock from that function.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Diffstat (limited to 'Documentation/watchdog')
0 files changed, 0 insertions, 0 deletions