Thread (2 messages) 2 messages, 2 authors, 2018-05-13

Re: [PATCH] ext4: update mtime in ext4_punch_hole even if no blocks are released

From: "Theodore Y. Ts'o" <tytso@mit.edu>
Date: 2018-05-13 23:39:03
Also in: stable

On Tue, Apr 24, 2018 at 03:07:51PM +0200, Lukas Czerner wrote:
Currently in ext4_punch_hole we're going to skip the mtime update if
there are no actual blocks to release. However we've actually modified
the file by zeroing the partial block so the mtime should be updated.

Moreover the sync and datasync handling is skipped as well, which is
also wrong. Fix it.

Signed-off-by: Lukas Czerner <redacted>
Reported-by: Joe Habermann <redacted>
Cc: <redacted>
Thanks, applied.

						- Ted
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help