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
snap/*.c: get attribtutes from child connection, fixed obdo_fromid() to return
[fs/lustre-release.git]
/
lustre
/
include
/
linux
/
obdfs.h
diff --git
a/lustre/include/linux/obdfs.h
b/lustre/include/linux/obdfs.h
index
405bdb2
..
1b921be
100644
(file)
--- a/
lustre/include/linux/obdfs.h
+++ b/
lustre/include/linux/obdfs.h
@@
-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