]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ext4: rename s_journal_flag_rwsem to s_writepages_rwsem
authorEric Biggers <ebiggers@google.com>
Wed, 19 Feb 2020 18:30:46 +0000 (10:30 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Feb 2020 14:42:52 +0000 (15:42 +0100)
commitf17a17d20eac204b5122a9f24266d97288d490db
tree4ab43bbc520f56b09519728ca22eef9c3cdc2a0a
parent7800e2466dd197a05fc7e4bd066a5db70388cd0a
ext4: rename s_journal_flag_rwsem to s_writepages_rwsem

commit bbd55937de8f2754adc5792b0f8e5ff7d9c0420e upstream.

In preparation for making s_journal_flag_rwsem synchronize
ext4_writepages() with changes to both the EXTENTS and JOURNAL_DATA
flags (rather than just JOURNAL_DATA as it does currently), rename it to
s_writepages_rwsem.

Link: https://lore.kernel.org/r/20200219183047.47417-2-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/ext4.h
fs/ext4/inode.c
fs/ext4/super.c