diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2023-05-18 09:25:35 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2023-05-18 09:25:35 +1000 |
commit | 8bea410dc6c72f0d43accdd927a40ac14c36a7f0 (patch) | |
tree | 760fffeecff1320551ad5bd46f22ec3ebfa2072c | |
parent | ee04d0a30dbef15a4ef481167ecb3cdf88fe3a4b (diff) | |
parent | 8ae72e5fd95a777aca023160615969f77554b31e (diff) | |
download | linux-next-8bea410dc6c72f0d43accdd927a40ac14c36a7f0.tar.gz |
Merge branch 'nfsd-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux
-rw-r--r-- | fs/nfsd/vfs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c index bb9d47172162..2a3687cdf926 100644 --- a/fs/nfsd/vfs.c +++ b/fs/nfsd/vfs.c @@ -536,7 +536,10 @@ nfsd_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp, inode_lock(inode); for (retries = 1;;) { - host_err = __nfsd_setattr(dentry, iap); + struct iattr attrs; + + attrs = *iap; + host_err = __nfsd_setattr(dentry, &attrs); if (host_err != -EAGAIN || !retries--) break; if (!nfsd_wait_for_delegreturn(rqstp, inode)) |