Whamcloud - gitweb
LU-3039 lfsck: misc patch for LFSCK 1.5 debts (1)
[fs/lustre-release.git] / lustre / osd-ldiskfs / osd_internal.h
index 75a2a8a..b2c13b2 100644 (file)
@@ -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 */