diff options
| author | Ingo Molnar <mingo@elte.hu> | 2009-09-24 06:59:11 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2009-09-24 06:59:18 -0400 |
| commit | d2ff6de537c61a0f05731c6679f3e1abc2d95e68 (patch) | |
| tree | 821aa38121f57a9d5419388ef10ea6f3aa445d4d /fs/nfsd/export.c | |
| parent | e23a8b6a8f319c0f08b6ccef2dccbb37e7603dc2 (diff) | |
| parent | a724eada8c2a7b62463b73ccf73fd0bb6e928aeb (diff) | |
Merge branch 'linus' into x86/urgent
Merge reason: Queueing up dependent early-printk fix.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs/nfsd/export.c')
| -rw-r--r-- | fs/nfsd/export.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c index d9462643155c..c1c9e035d4a4 100644 --- a/fs/nfsd/export.c +++ b/fs/nfsd/export.c | |||
| @@ -1341,6 +1341,8 @@ exp_pseudoroot(struct svc_rqst *rqstp, struct svc_fh *fhp) | |||
| 1341 | if (rv) | 1341 | if (rv) |
| 1342 | goto out; | 1342 | goto out; |
| 1343 | rv = check_nfsd_access(exp, rqstp); | 1343 | rv = check_nfsd_access(exp, rqstp); |
| 1344 | if (rv) | ||
| 1345 | fh_put(fhp); | ||
| 1344 | out: | 1346 | out: |
| 1345 | exp_put(exp); | 1347 | exp_put(exp); |
| 1346 | return rv; | 1348 | return rv; |
| @@ -1515,7 +1517,7 @@ static int e_show(struct seq_file *m, void *p) | |||
| 1515 | return svc_export_show(m, &svc_export_cache, cp); | 1517 | return svc_export_show(m, &svc_export_cache, cp); |
| 1516 | } | 1518 | } |
| 1517 | 1519 | ||
| 1518 | struct seq_operations nfs_exports_op = { | 1520 | const struct seq_operations nfs_exports_op = { |
| 1519 | .start = e_start, | 1521 | .start = e_start, |
| 1520 | .next = e_next, | 1522 | .next = e_next, |
| 1521 | .stop = e_stop, | 1523 | .stop = e_stop, |
