aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dir2_format.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2013-08-12 06:49:31 -0400
committerBen Myers <bpm@sgi.com>2013-08-12 17:35:41 -0400
commitd386b32b553ce145fb40f0d9360b6e5a79b5a80c (patch)
treee00135dfc377ec6b4f8a7f48e6e39b33bd842199 /fs/xfs/xfs_dir2_format.h
parent76456fc2a6fe3a31c492a072413925eebc68cc98 (diff)
xfs: sync minor header differences needed by userspace.
Little things like exported functions, __KERNEL__ protections, and so on that ensure user and kernel shared headers are identical. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Mark Tinguely <tinguely@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_dir2_format.h')
-rw-r--r--fs/xfs/xfs_dir2_format.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/xfs/xfs_dir2_format.h b/fs/xfs/xfs_dir2_format.h
index 7826782b8d78..2095e17b75cb 100644
--- a/fs/xfs/xfs_dir2_format.h
+++ b/fs/xfs/xfs_dir2_format.h
@@ -519,6 +519,9 @@ struct xfs_dir3_leaf {
519 519
520#define XFS_DIR3_LEAF_CRC_OFF offsetof(struct xfs_dir3_leaf_hdr, info.crc) 520#define XFS_DIR3_LEAF_CRC_OFF offsetof(struct xfs_dir3_leaf_hdr, info.crc)
521 521
522extern void xfs_dir3_leaf_hdr_from_disk(struct xfs_dir3_icleaf_hdr *to,
523 struct xfs_dir2_leaf *from);
524
522static inline int 525static inline int
523xfs_dir3_leaf_hdr_size(struct xfs_dir2_leaf *lp) 526xfs_dir3_leaf_hdr_size(struct xfs_dir2_leaf *lp)
524{ 527{