[PATCH 11/41] fat: Switch to generic_buffers_fsync_noflush()

Jan Kara
2026-03-20T13:42:17Z

FAT uses a list of metadata bhs attached to an inode. Switch it to use
generic_buffers_fsync_noflush() instead of __generic_file_fsync().

Signed-off-by: Jan Kara <jack@suse.cz>
---
fs/fat/file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/fat/file.c b/fs/fat/file.c
index 124d9c5431c8..1551065a7964 100644
--- a/fs/fat/file.c
+++ b/fs/fat/file.c
@@ -188,7 +188,7 @@ int fat_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync)
struct inode *inode = filp->f_mapping->host;
int err;

- err = __generic_file_fsync(filp, start, end, datasync);
+ err = generic_buffers_fsync_noflush(filp, start, end, datasync);
if (err)
return err;

--
2.51.0