]> asedeno.scripts.mit.edu Git - linux.git/commit
ext4: Move marking of handle as sync to ext4_add_nondir()
authorJan Kara <jack@suse.cz>
Tue, 5 Nov 2019 16:44:10 +0000 (17:44 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 5 Nov 2019 17:13:25 +0000 (12:13 -0500)
commita9e26328adfa82b1f3c941bc6e3daea47631abce
tree513d3ce18d0d70a055489a29dcd44bbc4dd01e16
parentb90bfdf581194a0fa5f6c26fef1e522f15f6212e
ext4: Move marking of handle as sync to ext4_add_nondir()

Every caller of ext4_add_nondir() marks handle as sync if directory has
DIRSYNC set. Move this marking to ext4_add_nondir() so reduce some
duplication.

Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20191105164437.32602-4-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/namei.c