Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-5396 all: use NULL instead of 0
[fs/lustre-release.git]
/
lustre
/
quota
/
qsd_handler.c
diff --git
a/lustre/quota/qsd_handler.c
b/lustre/quota/qsd_handler.c
index
f919937
..
16f274c
100644
(file)
--- a/
lustre/quota/qsd_handler.c
+++ b/
lustre/quota/qsd_handler.c
@@
-385,7
+385,7
@@
static void qsd_req_completion(const struct lu_env *env,
}
/* extract information from lvb */
- if (ret == 0 && lvb !=
0
) {
+ if (ret == 0 && lvb !=
NULL
) {
if (lvb->lvb_id_qunit != 0)
qsd_set_qunit(lqe, lvb->lvb_id_qunit);
qsd_set_edquot(lqe, !!(lvb->lvb_flags & LQUOTA_FL_EDQUOT));