]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
udf: Drop udf_sync_inode()
authorJan Kara <jack@suse.cz>
Mon, 27 Jul 2026 10:49:30 +0000 (12:49 +0200)
committerChristian Brauner <brauner@kernel.org>
Mon, 27 Jul 2026 14:25:33 +0000 (16:25 +0200)
commitc87c0098cf61b973d3d8eceeffbe4bfe2b2989ca
tree62094b56acffcb3d4246589bc368b83c67d68929
parent061d83911da5c662d7b40595d3614e5bcd18d055
udf: Drop udf_sync_inode()

The only place using udf_sync_inode() is now inode_getblk() for flushing
IS_SYNC inodes after write and page_mkwrite allocating blocks. For write
the flushing is actually taken care of by generic_write_sync() so it
isn't needed here. For page_mkwrite it does have effect however none of
the other filesystems seem to bother with flushing IS_SYNC inode on page
fault and properly synchronizing such writeback with standard inode
writeback would be slightly complex due to locking constraints. So just
drop IS_SYNC inode handling from inode_getblk().

Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20260727104923.3828017-32-jack@suse.cz
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
fs/udf/inode.c