Merge branch 'for-2.6.27' of git://linux-nfs.org/~bfields/linux

* '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
This commit is contained in:
Linus Torvalds 2008-08-12 16:39:22 -07:00
Родитель dae816835e 53e6d8d182
Коммит b0e0c9e7f6
4 изменённых файлов: 9 добавлений и 9 удалений

Просмотреть файл

@ -2462,7 +2462,7 @@ L: kernel-janitors@vger.kernel.org
W: http://www.kerneljanitors.org/ W: http://www.kerneljanitors.org/
S: Maintained S: Maintained
KERNEL NFSD KERNEL NFSD, SUNRPC, AND LOCKD SERVERS
P: J. Bruce Fields P: J. Bruce Fields
M: bfields@fieldses.org M: bfields@fieldses.org
P: Neil Brown P: Neil Brown
@ -3078,7 +3078,7 @@ M: ja@ssi.bg
L: netdev@vger.kernel.org L: netdev@vger.kernel.org
S: Maintained S: Maintained
NFS CLIENT NFS, SUNRPC, AND LOCKD CLIENTS
P: Trond Myklebust P: Trond Myklebust
M: Trond.Myklebust@netapp.com M: Trond.Myklebust@netapp.com
L: linux-nfs@vger.kernel.org L: linux-nfs@vger.kernel.org

Просмотреть файл

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

Просмотреть файл

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

Просмотреть файл

@ -1023,7 +1023,7 @@ exp_export(struct nfsctl_export *nxp)
/* Look up the dentry */ /* Look up the dentry */
err = path_lookup(nxp->ex_path, 0, &nd); err = path_lookup(nxp->ex_path, 0, &nd);
if (err) if (err)
goto out_unlock; goto out_put_clp;
err = -EINVAL; err = -EINVAL;
exp = exp_get_by_name(clp, nd.path.mnt, nd.path.dentry, NULL); exp = exp_get_by_name(clp, nd.path.mnt, nd.path.dentry, NULL);
@ -1090,9 +1090,9 @@ finish:
exp_put(exp); exp_put(exp);
if (fsid_key && !IS_ERR(fsid_key)) if (fsid_key && !IS_ERR(fsid_key))
cache_put(&fsid_key->h, &svc_expkey_cache); cache_put(&fsid_key->h, &svc_expkey_cache);
if (clp)
auth_domain_put(clp);
path_put(&nd.path); path_put(&nd.path);
out_put_clp:
auth_domain_put(clp);
out_unlock: out_unlock:
exp_writeunlock(); exp_writeunlock();
out: out: