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-3835 hsm: add missing braces to ct_copy_attr()
[fs/lustre-release.git]
/
lustre
/
quota
/
qsd_lib.c
diff --git
a/lustre/quota/qsd_lib.c
b/lustre/quota/qsd_lib.c
index
2a665cc
..
dfbf8a2
100644
(file)
--- a/
lustre/quota/qsd_lib.c
+++ b/
lustre/quota/qsd_lib.c
@@
-535,7
+535,7
@@
struct qsd_instance *qsd_init(const struct lu_env *env, char *svname,
/* only configure qsd for MDT & OST */
type = server_name2index(svname, &idx, NULL);
if (type != LDD_F_SV_TYPE_MDT && type != LDD_F_SV_TYPE_OST)
- RETURN(
ERR_PTR(-EINVAL)
);
+ RETURN(
NULL
);
/* allocate qsd instance */
OBD_ALLOC_PTR(qsd);