jbd2: cleanup write flags handling from jbd2_write_superblock()
authorJan Kara <jack@suse.cz>
Thu, 4 May 2017 15:01:31 +0000 (11:01 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 4 May 2017 15:01:31 +0000 (11:01 -0400)
commit17f423b5160767a8ec43b0602767e5f4d3ecd083
tree0442ac59b98b6b123f4898f31c3c7824b1f0eb18
parent00473374b72a6e5aba01af083f0d5100f3151210
jbd2: cleanup write flags handling from jbd2_write_superblock()

Currently jbd2_write_superblock() silently adds REQ_SYNC to flags with
which journal superblock is written. Make this explicit by making flags
passed down to jbd2_write_superblock() contain REQ_SYNC.

CC: linux-ext4@vger.kernel.org
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/jbd2/journal.c