diff options
Diffstat (limited to 'fs/nfsd')
-rw-r--r-- | fs/nfsd/nfs4state.c | 2 | ||||
-rw-r--r-- | fs/nfsd/vfs.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 0a024917f052..2e7357104cfd 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c | |||
@@ -4211,8 +4211,8 @@ nfs4_state_shutdown(void) | |||
4211 | nfs4_lock_state(); | 4211 | nfs4_lock_state(); |
4212 | nfs4_release_reclaim(); | 4212 | nfs4_release_reclaim(); |
4213 | __nfs4_state_shutdown(); | 4213 | __nfs4_state_shutdown(); |
4214 | nfsd4_destroy_callback_queue(); | ||
4215 | nfs4_unlock_state(); | 4214 | nfs4_unlock_state(); |
4215 | nfsd4_destroy_callback_queue(); | ||
4216 | } | 4216 | } |
4217 | 4217 | ||
4218 | /* | 4218 | /* |
diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c index 1709138affb1..9df85a13af28 100644 --- a/fs/nfsd/vfs.c +++ b/fs/nfsd/vfs.c | |||
@@ -443,8 +443,7 @@ nfsd_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp, struct iattr *iap, | |||
443 | if (size_change) | 443 | if (size_change) |
444 | put_write_access(inode); | 444 | put_write_access(inode); |
445 | if (!err) | 445 | if (!err) |
446 | if (EX_ISSYNC(fhp->fh_export)) | 446 | commit_metadata(fhp); |
447 | write_inode_now(inode, 1); | ||
448 | out: | 447 | out: |
449 | return err; | 448 | return err; |
450 | 449 | ||