On Wed, 24 May 2023 12:44:53 +0200, Jan Kara wrote: > Commit e360c6ed7274 ("ext4: Drop special handling of journalled data > from ext4_sync_file()") simplified ext4_sync_file() by dropping special > handling of journalled data mode as it was not needed anymore. However > that branch was also used for directories and symlinks and since the > fastcommit code does not track metadata changes to non-regular files, the > change has caused e.g. fsync(2) on directories to not commit transaction > as it should. Fix the problem by adding handling for non-regular files. > > [...] Applied, thanks! [1/1] ext4: Fix fsync for non-directories commit: 47a71ba09a8473c81cb87ed11421ed2896f352d2 Best regards, -- Theodore Ts'o <tytso@xxxxxxx>