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-3661 dt: Fix assertion of method in dt_capa_get()
[fs/lustre-release.git]
/
lustre
/
include
/
dt_object.h
diff --git
a/lustre/include/dt_object.h
b/lustre/include/dt_object.h
index
477433f
..
5176f12
100644
(file)
--- a/
lustre/include/dt_object.h
+++ b/
lustre/include/dt_object.h
@@
-1157,7
+1157,7
@@
static inline struct obd_capa *dt_capa_get(const struct lu_env *env,
{
LASSERT(dt);
LASSERT(dt->do_ops);
-
LASSERT(dt->do_ops->do_ref_del
);
+
LASSERT(dt->do_ops->do_capa_get
);
return dt->do_ops->do_capa_get(env, dt, old, opc);
}