[PATCH 0/6] NFSv4.2: Fix xattr ctime updates
From: Anna Schumaker <anna@kernel.org>
Date: 2023-05-04 20:49:07
The first few patches in this series are cleanups that reorganize the
code in the nfs42xdr.c file to match how the rest of the file is laid
out.
The last patch fixes a bug where we are failing to update ctime after a
SETXATTR operation. I also added nfs/002 to xfstests (submitted
separately) to test for this going forward.
Thanks,
Anna
Signed-off-by: Anna Schumaker <redacted>
---
Anna Schumaker (6):
NFSv4.2: Clean up: Move the encode_copy_commit() function
NFSv4.2: Clean up: move decode_*xattr() functions
NFSv4.2: Clean up: Move nfs4_xdr_enc_*xattr() functions
NFSv4.2: Clean up nfs4_xdr_dec_*xattr() functions
NFSv4.2: Clean up xattr size macros
NFSv4.2: SETXATTR should update ctime
fs/nfs/nfs42proc.c | 25 +-
fs/nfs/nfs42xdr.c | 621 +++++++++++++++++++++++++-----------------------
include/linux/nfs_xdr.h | 3 +
3 files changed, 346 insertions(+), 303 deletions(-)
---
base-commit: 4a60aee504c244ba5814b27c33c6250d98ac562f
change-id: 20230504-xattr-ctime-2336986b546c
Best regards,
--
Anna Schumaker [off-list ref]