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)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 22 Feb 2020 00:32:07 +0000 (19:32 -0500)
commitbbd55937de8f2754adc5792b0f8e5ff7d9c0420e
treea648c05a34cb6f5c4b5333f3fff5bbf7d5498119
parent7c990728b99ed6fbe9c75fc202fce1172d9916da
ext4: rename s_journal_flag_rwsem to s_writepages_rwsem

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
fs/ext4/ext4.h
fs/ext4/inode.c
fs/ext4/super.c