mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 08:03:01 +09:00
NFSv4.2: SETXATTR should update ctime
Otherwise, `stat` will report a stale value to users. Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
This commit is contained in:
committed by
Trond Myklebust
parent
64edd55d0f
commit
86e2e1f6d9
@@ -1528,6 +1528,7 @@ struct nfs42_seek_res {
|
||||
struct nfs42_setxattrargs {
|
||||
struct nfs4_sequence_args seq_args;
|
||||
struct nfs_fh *fh;
|
||||
const u32 *bitmask;
|
||||
const char *xattr_name;
|
||||
u32 xattr_flags;
|
||||
size_t xattr_len;
|
||||
@@ -1537,6 +1538,8 @@ struct nfs42_setxattrargs {
|
||||
struct nfs42_setxattrres {
|
||||
struct nfs4_sequence_res seq_res;
|
||||
struct nfs4_change_info cinfo;
|
||||
struct nfs_fattr *fattr;
|
||||
const struct nfs_server *server;
|
||||
};
|
||||
|
||||
struct nfs42_getxattrargs {
|
||||
|
||||
Reference in New Issue
Block a user