Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61659
b: refs/heads/master
c: 9a25b96
h: refs/heads/master
i:
  61657: 7bb4c62
  61655: 416e848
v: v3
  • Loading branch information
J. Bruce Fields authored and Linus Torvalds committed Jul 19, 2007
1 parent 89f0e06 commit df37a5f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a280df32db291f41b3922ac218674be526af5b9b
refs/heads/master: 9a25b96c1f6e1a3c85c9524f3046c7c75d8fecc7
8 changes: 4 additions & 4 deletions trunk/fs/nfsd/export.c
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,7 @@ struct svc_export *
rqst_exp_get_by_name(struct svc_rqst *rqstp, struct vfsmount *mnt,
struct dentry *dentry)
{
struct svc_export *gssexp, *exp = NULL;
struct svc_export *gssexp, *exp = ERR_PTR(-ENOENT);

if (rqstp->rq_client == NULL)
goto gss;
Expand All @@ -1288,15 +1288,15 @@ rqst_exp_get_by_name(struct svc_rqst *rqstp, struct vfsmount *mnt,
&rqstp->rq_chandle);
if (PTR_ERR(gssexp) == -ENOENT)
return exp;
if (exp && !IS_ERR(exp))
if (!IS_ERR(exp))
exp_put(exp);
return gssexp;
}

struct svc_export *
rqst_exp_find(struct svc_rqst *rqstp, int fsid_type, u32 *fsidv)
{
struct svc_export *gssexp, *exp = NULL;
struct svc_export *gssexp, *exp = ERR_PTR(-ENOENT);

if (rqstp->rq_client == NULL)
goto gss;
Expand All @@ -1318,7 +1318,7 @@ rqst_exp_find(struct svc_rqst *rqstp, int fsid_type, u32 *fsidv)
&rqstp->rq_chandle);
if (PTR_ERR(gssexp) == -ENOENT)
return exp;
if (exp && !IS_ERR(exp))
if (!IS_ERR(exp))
exp_put(exp);
return gssexp;
}
Expand Down

0 comments on commit df37a5f

Please sign in to comment.