Skip to content

Commit deb0c98

Browse files
committed
Merge branch 'for-2.6.33' of git://linux-nfs.org/~bfields/linux
* 'for-2.6.33' of git://linux-nfs.org/~bfields/linux: Revert "nfsd4: fix error return when pseudoroot missing"
2 parents a5f28ae + 260c64d commit deb0c98

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

fs/nfsd/export.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1316,19 +1316,11 @@ rqst_exp_parent(struct svc_rqst *rqstp, struct path *path)
13161316

13171317
static struct svc_export *find_fsidzero_export(struct svc_rqst *rqstp)
13181318
{
1319-
struct svc_export *exp;
13201319
u32 fsidv[2];
13211320

13221321
mk_fsid(FSID_NUM, fsidv, 0, 0, 0, NULL);
13231322

1324-
exp = rqst_exp_find(rqstp, FSID_NUM, fsidv);
1325-
/*
1326-
* We shouldn't have accepting an nfsv4 request at all if we
1327-
* don't have a pseudoexport!:
1328-
*/
1329-
if (IS_ERR(exp) && PTR_ERR(exp) == -ENOENT)
1330-
exp = ERR_PTR(-ESERVERFAULT);
1331-
return exp;
1323+
return rqst_exp_find(rqstp, FSID_NUM, fsidv);
13321324
}
13331325

13341326
/*

0 commit comments

Comments
 (0)