diff options
Diffstat (limited to 'fs/nfsd/vfs.c')
-rw-r--r-- | fs/nfsd/vfs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c index b653ede37e66..f916b170e136 100644 --- a/fs/nfsd/vfs.c +++ b/fs/nfsd/vfs.c | |||
@@ -1517,14 +1517,15 @@ nfsd_link(struct svc_rqst *rqstp, struct svc_fh *ffhp, | |||
1517 | err = nfserrno(err); | 1517 | err = nfserrno(err); |
1518 | } | 1518 | } |
1519 | 1519 | ||
1520 | fh_unlock(ffhp); | ||
1521 | dput(dnew); | 1520 | dput(dnew); |
1521 | out_unlock: | ||
1522 | fh_unlock(ffhp); | ||
1522 | out: | 1523 | out: |
1523 | return err; | 1524 | return err; |
1524 | 1525 | ||
1525 | out_nfserr: | 1526 | out_nfserr: |
1526 | err = nfserrno(err); | 1527 | err = nfserrno(err); |
1527 | goto out; | 1528 | goto out_unlock; |
1528 | } | 1529 | } |
1529 | 1530 | ||
1530 | /* | 1531 | /* |