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-10337 mdt: Allow open of open orphans
[fs/lustre-release.git]
/
lustre
/
mdd
/
mdd_internal.h
diff --git
a/lustre/mdd/mdd_internal.h
b/lustre/mdd/mdd_internal.h
index
7d50e68
..
78863de
100644
(file)
--- a/
lustre/mdd/mdd_internal.h
+++ b/
lustre/mdd/mdd_internal.h
@@
-494,6
+494,11
@@
static inline bool mdd_is_volatile_obj(struct mdd_object *obj)
return obj->mod_flags & VOLATILE_OBJ;
}
return obj->mod_flags & VOLATILE_OBJ;
}
+static inline bool mdd_is_orphan_obj(struct mdd_object *obj)
+{
+ return obj->mod_flags & ORPHAN_OBJ;
+}
+
static inline int mdd_object_exists(struct mdd_object *obj)
{
return lu_object_exists(mdd2lu_obj(obj));
static inline int mdd_object_exists(struct mdd_object *obj)
{
return lu_object_exists(mdd2lu_obj(obj));