summaryrefslogtreecommitdiffstats
path: root/fs/jfs/jfs_incore.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2019-07-25 13:03:32 -0400
committerIlya Dryomov <idryomov@gmail.com>2019-09-16 12:06:24 +0200
commitc62498d7f9d37d5e60d61ca2a4e1f88211af7645 (patch)
tree3bc639916b2b74aea405b2ac277d3587dbef1624 /fs/jfs/jfs_incore.h
parent0ed26f3693fbe0aec107e2e97a053b3eabebfc92 (diff)
downloadlinux-c62498d7f9d37d5e60d61ca2a4e1f88211af7645.tar.bz2
ceph: update the mtime when truncating up
If we have Fx caps, and the we're truncating the size to be larger, then we'll cache the size attribute change, but the mtime won't be updated. Move the size handling before the mtime, and add ATTR_MTIME to ia_valid in that case to make sure the mtime also gets updated. This fixes xfstest generic/313. Signed-off-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/jfs/jfs_incore.h')
0 files changed, 0 insertions, 0 deletions