Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aeb4eb6b authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

fuse: fix mtime update error in fsync



Bad case of shadowing.

Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
parent 4adb8302
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -501,7 +501,7 @@ int fuse_fsync_common(struct file *file, loff_t start, loff_t end,
	fuse_sync_writes(inode);

	if (test_bit(FUSE_I_MTIME_DIRTY, &get_fuse_inode(inode)->state)) {
		int err = fuse_flush_mtime(file, false);
		err = fuse_flush_mtime(file, false);
		if (err)
			goto out;
	}