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-3039 lfsck: misc patch for LFSCK 1.5 debts (1)
[fs/lustre-release.git]
/
lustre
/
osd-ldiskfs
/
osd_internal.h
diff --git
a/lustre/osd-ldiskfs/osd_internal.h
b/lustre/osd-ldiskfs/osd_internal.h
index
75a2a8a
..
b2c13b2
100644
(file)
--- a/
lustre/osd-ldiskfs/osd_internal.h
+++ b/
lustre/osd-ldiskfs/osd_internal.h
@@
-1009,5
+1009,9
@@
static inline loff_t ldiskfs_get_htree_eof(struct file *filp)
return LDISKFS_HTREE_EOF_64BIT;
}
+static inline int fid_is_internal(const struct lu_fid *fid)
+{
+ return (!fid_is_namespace_visible(fid) && !fid_is_idif(fid));
+}
#endif /* __KERNEL__ */
#endif /* _OSD_INTERNAL_H */