|
@@ -2252,8 +2252,9 @@ nfsd4_open_confirm(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfs
|
|
|
(int)current_fh->fh_dentry->d_name.len,
|
|
|
current_fh->fh_dentry->d_name.name);
|
|
|
|
|
|
- if ((status = fh_verify(rqstp, current_fh, S_IFREG, 0)))
|
|
|
- goto out;
|
|
|
+ status = fh_verify(rqstp, current_fh, S_IFREG, 0);
|
|
|
+ if (status)
|
|
|
+ return status;
|
|
|
|
|
|
nfs4_lock_state();
|
|
|
|