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-7268 scrub: NOT assign LMA for EA inode
[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
7ad0c24
..
b47f653
100644
(file)
--- a/
lustre/osd-ldiskfs/osd_internal.h
+++ b/
lustre/osd-ldiskfs/osd_internal.h
@@
-913,6
+913,11
@@
static inline char *osd_name(struct osd_device *osd)
return osd->od_dt_dev.dd_lu_dev.ld_obd->obd_name;
}
return osd->od_dt_dev.dd_lu_dev.ld_obd->obd_name;
}
+static inline bool osd_is_ea_inode(struct inode *inode)
+{
+ return !!(LDISKFS_I(inode)->i_flags & LDISKFS_EA_INODE_FL);
+}
+
extern const struct dt_body_operations osd_body_ops;
extern struct lu_context_key osd_key;
extern const struct dt_body_operations osd_body_ops;
extern struct lu_context_key osd_key;