aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4state.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd/nfs4state.c')
-rw-r--r--fs/nfsd/nfs4state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index fbde6f79922e..4b36ec3eb8ea 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -3055,7 +3055,7 @@ check_special_stateids(svc_fh *current_fh, stateid_t *stateid, int flags)
3055 if (ONE_STATEID(stateid) && (flags & RD_STATE)) 3055 if (ONE_STATEID(stateid) && (flags & RD_STATE))
3056 return nfs_ok; 3056 return nfs_ok;
3057 else if (locks_in_grace()) { 3057 else if (locks_in_grace()) {
3058 /* Answer in remaining cases depends on existance of 3058 /* Answer in remaining cases depends on existence of
3059 * conflicting state; so we must wait out the grace period. */ 3059 * conflicting state; so we must wait out the grace period. */
3060 return nfserr_grace; 3060 return nfserr_grace;
3061 } else if (flags & WR_STATE) 3061 } else if (flags & WR_STATE)
@@ -3675,7 +3675,7 @@ find_lockstateowner_str(struct inode *inode, clientid_t *clid,
3675/* 3675/*
3676 * Alloc a lock owner structure. 3676 * Alloc a lock owner structure.
3677 * Called in nfsd4_lock - therefore, OPEN and OPEN_CONFIRM (if needed) has 3677 * Called in nfsd4_lock - therefore, OPEN and OPEN_CONFIRM (if needed) has
3678 * occured. 3678 * occurred.
3679 * 3679 *
3680 * strhashval = lock_ownerstr_hashval 3680 * strhashval = lock_ownerstr_hashval
3681 */ 3681 */