summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2020-06-10 17:36:03 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-03 11:19:26 +0200
commit311e34b3b4dcc669f2d272b4281c41b109256b94 (patch)
tree74d050e58f4b70fa4287a5e719c8da125e6a8cb5 /include
parentbf485f58b464029f80bc0bed7ac2fded6f4078e8 (diff)
writeback: Protect inode->i_io_list with inode->i_lock
commit b35250c0816c7cf7d0a8de92f5fafb6a7508a708 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions