mbox series

[0/6] NFSv4.2: Fix xattr ctime updates

Message ID 20230504-xattr-ctime-v1-0-ac3fc5a00942@Netapp.com (mailing list archive)
Headers show
Series NFSv4.2: Fix xattr ctime updates | expand

Message

Anna Schumaker May 4, 2023, 8:47 p.m. UTC
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 <Anna.Schumaker@Netapp.com>
---
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,