aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/nfsd/vfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c
index b8da5ddb3a0a..5c97d0ea9e22 100644
--- a/fs/nfsd/vfs.c
+++ b/fs/nfsd/vfs.c
@@ -120,14 +120,14 @@ nfsd_cross_mnt(struct svc_rqst *rqstp, struct dentry **dpp,
120 mntput(mnt); 120 mntput(mnt);
121 goto out; 121 goto out;
122 } 122 }
123 if (exp2 && ((exp->ex_flags & NFSEXP_CROSSMOUNT) || EX_NOHIDE(exp2))) { 123 if ((exp->ex_flags & NFSEXP_CROSSMOUNT) || EX_NOHIDE(exp2)) {
124 /* successfully crossed mount point */ 124 /* successfully crossed mount point */
125 exp_put(exp); 125 exp_put(exp);
126 *expp = exp2; 126 *expp = exp2;
127 dput(dentry); 127 dput(dentry);
128 *dpp = mounts; 128 *dpp = mounts;
129 } else { 129 } else {
130 if (exp2) exp_put(exp2); 130 exp_put(exp2);
131 dput(mounts); 131 dput(mounts);
132 } 132 }
133 mntput(mnt); 133 mntput(mnt);