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-2240 mds: Assign special fid sequence to root.
[fs/lustre-release.git]
/
lustre
/
mdd
/
mdd_internal.h
diff --git
a/lustre/mdd/mdd_internal.h
b/lustre/mdd/mdd_internal.h
index
58fb060
..
97f6cb6
100644
(file)
--- a/
lustre/mdd/mdd_internal.h
+++ b/
lustre/mdd/mdd_internal.h
@@
-583,6
+583,11
@@
static inline const struct lu_fid *mdd_object_fid(struct mdd_object *obj)
return lu_object_fid(mdd2lu_obj(obj));
}
return lu_object_fid(mdd2lu_obj(obj));
}
+static inline struct seq_server_site *mdd_seq_site(struct mdd_device *mdd)
+{
+ return mdd2lu_dev(mdd)->ld_site->ld_seq_site;
+}
+
static inline struct lustre_capa *mdd_object_capa(const struct lu_env *env,
const struct mdd_object *obj)
{
static inline struct lustre_capa *mdd_object_capa(const struct lu_env *env,
const struct mdd_object *obj)
{