git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
orangefs: Adjust three checks for null pointers
[sfrench/cifs-2.6.git]
/
fs
/
orangefs
/
acl.c
diff --git
a/fs/orangefs/acl.c
b/fs/orangefs/acl.c
index 45f27cf51fd866834893cb287671328dbf367709..9108ef433e6d7b09721360a4dc3c1e7f4f2caf3b 100644
(file)
--- a/
fs/orangefs/acl.c
+++ b/
fs/orangefs/acl.c
@@
-35,7
+35,7
@@
struct posix_acl *orangefs_get_acl(struct inode *inode, int type)
* I don't do that for now.
*/
value = kmalloc(ORANGEFS_MAX_XATTR_VALUELEN, GFP_KERNEL);
- if (
value == NULL
)
+ if (
!value
)
return ERR_PTR(-ENOMEM);
gossip_debug(GOSSIP_ACL_DEBUG,