Skip to content

Commit

Permalink
Merge branch 'for-2.6.27' of git://linux-nfs.org/~bfields/linux
Browse files Browse the repository at this point in the history
* 'for-2.6.27' of git://linux-nfs.org/~bfields/linux:
  fs/nfsd/export.c: Adjust error handling code involving auth_domain_put
  MAINTAINERS: mention lockd and sunrpc in nfs entries
  lockd: trivial sparse endian annotations
  • Loading branch information
torvalds committed Aug 12, 2008
2 parents dae8168 + 53e6d8d commit b0e0c9e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -2462,7 +2462,7 @@ L: [email protected]
W: http://www.kerneljanitors.org/
S: Maintained

KERNEL NFSD
KERNEL NFSD, SUNRPC, AND LOCKD SERVERS
P: J. Bruce Fields
M: [email protected]
P: Neil Brown
Expand Down Expand Up @@ -3078,7 +3078,7 @@ M: [email protected]
L: [email protected]
S: Maintained

NFS CLIENT
NFS, SUNRPC, AND LOCKD CLIENTS
P: Trond Myklebust
M: [email protected]
L: [email protected]
Expand Down
4 changes: 2 additions & 2 deletions fs/lockd/svc4proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ nlm4svc_proc_test(struct svc_rqst *rqstp, struct nlm_args *argp,
{
struct nlm_host *host;
struct nlm_file *file;
int rc = rpc_success;
__be32 rc = rpc_success;

dprintk("lockd: TEST4 called\n");
resp->cookie = argp->cookie;
Expand Down Expand Up @@ -116,7 +116,7 @@ nlm4svc_proc_lock(struct svc_rqst *rqstp, struct nlm_args *argp,
{
struct nlm_host *host;
struct nlm_file *file;
int rc = rpc_success;
__be32 rc = rpc_success;

dprintk("lockd: LOCK called\n");

Expand Down
4 changes: 2 additions & 2 deletions fs/lockd/svcproc.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ nlmsvc_proc_test(struct svc_rqst *rqstp, struct nlm_args *argp,
{
struct nlm_host *host;
struct nlm_file *file;
int rc = rpc_success;
__be32 rc = rpc_success;

dprintk("lockd: TEST called\n");
resp->cookie = argp->cookie;
Expand Down Expand Up @@ -146,7 +146,7 @@ nlmsvc_proc_lock(struct svc_rqst *rqstp, struct nlm_args *argp,
{
struct nlm_host *host;
struct nlm_file *file;
int rc = rpc_success;
__be32 rc = rpc_success;

dprintk("lockd: LOCK called\n");

Expand Down
6 changes: 3 additions & 3 deletions fs/nfsd/export.c
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@ exp_export(struct nfsctl_export *nxp)
/* Look up the dentry */
err = path_lookup(nxp->ex_path, 0, &nd);
if (err)
goto out_unlock;
goto out_put_clp;
err = -EINVAL;

exp = exp_get_by_name(clp, nd.path.mnt, nd.path.dentry, NULL);
Expand Down Expand Up @@ -1090,9 +1090,9 @@ exp_export(struct nfsctl_export *nxp)
exp_put(exp);
if (fsid_key && !IS_ERR(fsid_key))
cache_put(&fsid_key->h, &svc_expkey_cache);
if (clp)
auth_domain_put(clp);
path_put(&nd.path);
out_put_clp:
auth_domain_put(clp);
out_unlock:
exp_writeunlock();
out:
Expand Down

0 comments on commit b0e0c9e

Please sign in to comment.