aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4state.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-04-11 16:44:25 -0400
committerDavid S. Miller <davem@davemloft.net>2011-04-11 16:44:25 -0400
commit1c01a80cfec6f806246f31ff2680cd3639b30e67 (patch)
tree0b554aad2ec1da71ecf6339d4ba51617bfe1dc3c /fs/nfsd/nfs4state.c
parentc44d79950b2daa1025e62eede73e4e4a274d1ef3 (diff)
parent4a9f65f6304a00f6473e83b19c1e83caa1e42530 (diff)
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/smsc911x.c
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 fbde6f79922..4b36ec3eb8e 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 */