diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-02-08 12:14:44 -0500 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2022-02-14 14:58:48 -0500 |
commit | 9d047bf68fe8cdb4086deaf4edd119731a9481ed (patch) | |
tree | d38c167ea3d4d498553e3ef3f7d5e75274a0fddd /fs/nfs/dir.c | |
parent | 754e0b0e35608ed5206d6a67a791563c631cec07 (diff) | |
download | lwn-9d047bf68fe8cdb4086deaf4edd119731a9481ed.tar.gz lwn-9d047bf68fe8cdb4086deaf4edd119731a9481ed.zip |
NFS: Remove an incorrect revalidation in nfs4_update_changeattr_locked()
In nfs4_update_changeattr_locked(), we don't need to set the
NFS_INO_REVAL_PAGECACHE flag, because we already know the value of the
change attribute, and we're already flagging the size. In fact, this
forces us to revalidate the change attribute a second time for no good
reason.
This extra flag appears to have been introduced as part of the xattr
feature, when update_changeattr_locked() was converted for use by the
xattr code.
Fixes: 1b523ca972ed ("nfs: modify update_changeattr to deal with regular files")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/dir.c')
0 files changed, 0 insertions, 0 deletions