projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd68407
)
NFSv4: It's perfectly legal for clp to be NULL here....
author
J. Bruce Fields
<bfields@citi.umich.edu>
Tue, 12 Sep 2006 15:53:23 +0000
(11:53 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Sat, 23 Sep 2006 03:25:02 +0000
(23:25 -0400)
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/client.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/client.c
b/fs/nfs/client.c
index 110f80e7bd4cebb5763378c64e1110213ea1defc..ec1938d4b814f3d3b9e031aa076499c7ca6102bd 100644
(file)
--- a/
fs/nfs/client.c
+++ b/
fs/nfs/client.c
@@
-269,7
+269,7
@@
struct nfs_client *nfs_find_client(const struct sockaddr_in *addr, int nfsversio
clp = __nfs_find_client(addr, nfsversion);
spin_unlock(&nfs_client_lock);
- BUG_ON(clp->cl_cons_state == 0);
+ BUG_ON(clp
&& clp
->cl_cons_state == 0);
return clp;
}