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-1187 osp: add osp_md_object for remote directory.
[fs/lustre-release.git]
/
lustre
/
include
/
lu_object.h
diff --git
a/lustre/include/lu_object.h
b/lustre/include/lu_object.h
index
82b136a
..
be66fda
100644
(file)
--- a/
lustre/include/lu_object.h
+++ b/
lustre/include/lu_object.h
@@
-866,7
+866,7
@@
static inline int lu_object_assert_not_exists(const struct lu_object *o)
*/
static inline __u32 lu_object_attr(const struct lu_object *o)
{
-
LASSERT(lu_object_exists(o) >
0);
+
LASSERT(lu_object_exists(o) !=
0);
return o->lo_header->loh_attr;
}