NFSv3: Clean up timespec encode

Simplify the struct iattr timestamp encoding by skipping the step of
an intermediate struct timespec.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
This commit is contained in:
Trond Myklebust
2019-10-04 17:00:02 -04:00
parent c9dbfd961b
commit 6430b323ae
2 changed files with 5 additions and 9 deletions

View File

@@ -869,7 +869,7 @@ struct nfs3_sattrargs {
struct nfs_fh * fh;
struct iattr * sattr;
unsigned int guard;
struct timespec guardtime;
struct timespec64 guardtime;
};
struct nfs3_diropargs {