diff options
| author | Patrick McHardy <kaber@trash.net> | 2010-04-20 10:02:01 -0400 | 
|---|---|---|
| committer | Patrick McHardy <kaber@trash.net> | 2010-04-20 10:02:01 -0400 | 
| commit | 62910554656cdcd6b6f84a5154c4155aae4ca231 (patch) | |
| tree | dcf14004f6fd2ef7154362ff948bfeba0f3ea92d /fs/nfs/nfs4proc.c | |
| parent | 22265a5c3c103cf8c50be62e6c90d045eb649e6d (diff) | |
| parent | ab9304717f7624c41927f442e6b6d418b2d8b3e4 (diff) | |
Merge branch 'master' of /repos/git/net-next-2.6
Conflicts:
	Documentation/feature-removal-schedule.txt
	net/ipv6/netfilter/ip6t_REJECT.c
	net/netfilter/xt_limit.c
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
| -rw-r--r-- | fs/nfs/nfs4proc.c | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index eda74c42d552..fe0cd9eb1d4d 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
| @@ -39,6 +39,7 @@ | |||
| 39 | #include <linux/delay.h> | 39 | #include <linux/delay.h> | 
| 40 | #include <linux/errno.h> | 40 | #include <linux/errno.h> | 
| 41 | #include <linux/string.h> | 41 | #include <linux/string.h> | 
| 42 | #include <linux/slab.h> | ||
| 42 | #include <linux/sunrpc/clnt.h> | 43 | #include <linux/sunrpc/clnt.h> | 
| 43 | #include <linux/nfs.h> | 44 | #include <linux/nfs.h> | 
| 44 | #include <linux/nfs4.h> | 45 | #include <linux/nfs4.h> | 
| @@ -2067,8 +2068,7 @@ nfs4_open_revalidate(struct inode *dir, struct dentry *dentry, int openflags, st | |||
| 2067 | case -EDQUOT: | 2068 | case -EDQUOT: | 
| 2068 | case -ENOSPC: | 2069 | case -ENOSPC: | 
| 2069 | case -EROFS: | 2070 | case -EROFS: | 
| 2070 | lookup_instantiate_filp(nd, (struct dentry *)state, NULL); | 2071 | return PTR_ERR(state); | 
| 2071 | return 1; | ||
| 2072 | default: | 2072 | default: | 
| 2073 | goto out_drop; | 2073 | goto out_drop; | 
| 2074 | } | 2074 | } | 
| @@ -5107,6 +5107,7 @@ static int nfs41_proc_async_sequence(struct nfs_client *clp, | |||
| 5107 | res = kzalloc(sizeof(*res), GFP_KERNEL); | 5107 | res = kzalloc(sizeof(*res), GFP_KERNEL); | 
| 5108 | if (!args || !res) { | 5108 | if (!args || !res) { | 
| 5109 | kfree(args); | 5109 | kfree(args); | 
| 5110 | kfree(res); | ||
| 5110 | nfs_put_client(clp); | 5111 | nfs_put_client(clp); | 
| 5111 | return -ENOMEM; | 5112 | return -ENOMEM; | 
| 5112 | } | 5113 | } | 
