summaryrefslogtreecommitdiff
path: root/fs/btrfs/extent-io-tree.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2020-06-10 18:36:03 +0300
committerJan Kara <jack@suse.cz>2020-06-15 10:18:11 +0300
commitb35250c0816c7cf7d0a8de92f5fafb6a7508a708 (patch)
tree0689da48fedf802f8af757d5521eea198108fa37 /fs/btrfs/extent-io-tree.h
parent5b14671be58d0084e7e2d1cc9c2c36a94467f6e0 (diff)
downloadlinux-b35250c0816c7cf7d0a8de92f5fafb6a7508a708.tar.xz
writeback: Protect inode->i_io_list with inode->i_lock
Currently, operations on inode->i_io_list are protected by wb->list_lock. In the following patches we'll need to maintain consistency between inode->i_state and inode->i_io_list so change the code so that inode->i_lock protects also all inode's i_io_list handling. Reviewed-by: Martijn Coenen <maco@android.com> Reviewed-by: Christoph Hellwig <hch@lst.de> CC: stable@vger.kernel.org # Prerequisite for "writeback: Avoid skipping inode writeback" Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/btrfs/extent-io-tree.h')
0 files changed, 0 insertions, 0 deletions