Whamcloud - gitweb
snap/*.c: get attribtutes from child connection, fixed obdo_fromid() to return
[fs/lustre-release.git] / lustre / include / linux / obdfs.h
index 405bdb2..1b921be 100644 (file)
@@ -103,6 +103,11 @@ static inline int obdfs_has_inline(struct inode *inode)
        return (OBDFS_INFO(inode)->oi_flags & OBD_FL_INLINEDATA);
 }
 
+static inline int obdfs_has_obdmd(struct inode *inode)
+{
+       return (OBDFS_INFO(inode)->oi_flags & OBD_FL_OBDMDEXISTS);
+}
+
 #define NOLOCK 0
 #define LOCKED 1