Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fat: Switch to generic_buffers_fsync_noflush()

FAT uses a list of metadata bhs attached to an inode. Switch it to use
generic_buffers_fsync_noflush() instead of __generic_file_fsync() as
we'll be removing metadata bh handling from __generic_file_fsync().

Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20260326095354.16340-54-jack@suse.cz
Signed-off-by: Christian Brauner <brauner@kernel.org>

authored by

Jan Kara and committed by
Christian Brauner
635aa2f6 235cddee

+1 -1
+1 -1
fs/fat/file.c
··· 188 188 struct inode *inode = filp->f_mapping->host; 189 189 int err; 190 190 191 - err = __generic_file_fsync(filp, start, end, datasync); 191 + err = generic_buffers_fsync_noflush(filp, start, end, datasync); 192 192 if (err) 193 193 return err; 194 194