summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorOlga Kornievskaia <okorniev@redhat.com>2026-04-17 16:35:43 -0400
committerTrond Myklebust <trond.myklebust@hammerspace.com>2026-04-22 08:53:23 -0400
commit6e7daa3dad299080a9429522a98ac1ae1116ecc3 (patch)
treec9952c2f50909f7d78537442a5afb4bbba7df5c0 /include/linux/stackprotector.h
parent5d3869a41f3608101c00ff9c9c7c2364c555fa65 (diff)
NFSv4.2: fix CLONE/COPY attrs in presence of delegated attributes
xfstest generic/407 is failing in 2 ways. It detects that after doing a clone the client does not update it's mtime and it's ctime. CLONE always sends a GETATTR operation and then calls nfs_post_op_update_inode() based on the returned attributes. Because of the delegated attributes the client ignores updating the mtime. Then also, when delegated attributes are present, for the change_attr the server replies with the same values as what the client cached before and thus the generic/407 would flag that. Instead, make sure we invalidate the blocks attr. By adding updating delegated attributes in nfs42_copy_dest_done() both COPY and CLONE would update mtime appropriately. Fixes: e12912d94137 ("NFSv4: Add support for delegated atime and mtime attributes") Signed-off-by: Olga Kornievskaia <okorniev@redhat.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions