diff options
author | Hugh Dickins <hughd@google.com> | 2022-08-10 21:55:36 -0700 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-08-20 15:17:45 -0700 |
commit | 15f242bb65b89d5f1ff990668a586fdf1307b2c8 (patch) | |
tree | a28576d811d6d63bd93878ed30f254b467d75126 /mm/rmap.c | |
parent | cb241339b9d020c758a6647c69f8e42538c5cf88 (diff) | |
download | lwn-15f242bb65b89d5f1ff990668a586fdf1307b2c8.tar.gz lwn-15f242bb65b89d5f1ff990668a586fdf1307b2c8.zip |
mm/shmem: tmpfs fallocate use file_modified()
5.18 fixed the btrfs and ext4 fallocates to use file_modified(), as xfs
was already doing, to drop privileges: and fstests generic/{683,684,688}
expect this. There's no need to argue over keep-size allocation (which
could just update ctime): fix shmem_fallocate() to behave the same way.
Link: https://lkml.kernel.org/r/39c5e62-4896-7795-c0a0-f79c50d4909@google.com
Signed-off-by: Hugh Dickins <hughd@google.com>
Acked-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Cc: "Darrick J. Wong" <djwong@kernel.org>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Radoslaw Burny <rburny@google.com>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/rmap.c')
0 files changed, 0 insertions, 0 deletions