summaryrefslogtreecommitdiff
path: root/drivers/fpga/machxo2-spi.c
diff options
context:
space:
mode:
authorLukas Czerner <lczerner@redhat.com>2018-05-14 02:28:35 +0300
committerTheodore Ts'o <tytso@mit.edu>2018-05-14 02:28:35 +0300
commiteee597ac931305eff3d3fd1d61d6aae553bc0984 (patch)
tree51d56d6f378440437c1134d4983ca05a402c62db /drivers/fpga/machxo2-spi.c
parent6390d33bf5d9b24fd4f96e415b6888f59c8494f9 (diff)
downloadlinux-eee597ac931305eff3d3fd1d61d6aae553bc0984.tar.xz
ext4: update mtime in ext4_punch_hole even if no blocks are released
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 <lczerner@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reported-by: Joe Habermann <joe.habermann@quantum.com> Cc: <stable@vger.kernel.org>
Diffstat (limited to 'drivers/fpga/machxo2-spi.c')
0 files changed, 0 insertions, 0 deletions