Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d39b08d
)
Revert "LU-3627 quota: Fix incorrect NULL return value of qsd_init()"
97/7197/2
author
Oleg Drokin
<oleg.drokin@intel.com>
Wed, 31 Jul 2013 20:59:18 +0000
(20:59 +0000)
committer
Oleg Drokin
<oleg.drokin@intel.com>
Wed, 31 Jul 2013 20:59:40 +0000
(20:59 +0000)
This reverts commit
7c93d397d18f5f5380a969f52a806c28b2c78d54
Change-Id: I87d20ff338775a5cfdbc22cc7243ffdb5b0957eb
Reviewed-on: http://review.whamcloud.com/7197
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Tested-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/quota/qsd_lib.c
patch
|
blob
|
history
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);