projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb8a3b5
)
nfs: ERR_PTR is expected on failure from nfs_do_clone_mount
author
Denis V. Lunev
<den@openvz.org>
Thu, 31 Jul 2008 05:38:55 +0000
(09:38 +0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 7 Oct 2008 22:14:34 +0000
(18:14 -0400)
Replace NULL with ERR_PTR(-EINVAL).
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/namespace.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/namespace.c
b/fs/nfs/namespace.c
index 66df08dd1cafbb41cdbb7864128b0920e0c8dbd3..d398775a3af57503aa3ecf6bbaa3db4d0cfd0ba7 100644
(file)
--- a/
fs/nfs/namespace.c
+++ b/
fs/nfs/namespace.c
@@
-189,7
+189,7
@@
static struct vfsmount *nfs_do_clone_mount(struct nfs_server *server,
struct nfs_clone_mount *mountdata)
{
#ifdef CONFIG_NFS_V4
- struct vfsmount *mnt =
NULL
;
+ struct vfsmount *mnt =
ERR_PTR(-EINVAL)
;
switch (server->nfs_client->rpc_ops->version) {
case 2:
case 3:
This page took
0.025507 seconds
and
5
git commands to generate.