diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfsd/nfs4state.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 7c7d01672d35..21497321a525 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c | |||
@@ -2252,8 +2252,9 @@ nfsd4_open_confirm(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfs | |||
2252 | (int)current_fh->fh_dentry->d_name.len, | 2252 | (int)current_fh->fh_dentry->d_name.len, |
2253 | current_fh->fh_dentry->d_name.name); | 2253 | current_fh->fh_dentry->d_name.name); |
2254 | 2254 | ||
2255 | if ((status = fh_verify(rqstp, current_fh, S_IFREG, 0))) | 2255 | status = fh_verify(rqstp, current_fh, S_IFREG, 0); |
2256 | goto out; | 2256 | if (status) |
2257 | return status; | ||
2257 | 2258 | ||
2258 | nfs4_lock_state(); | 2259 | nfs4_lock_state(); |
2259 | 2260 | ||