diff options
| author | Dave Chinner <[email protected]> | 2013-08-12 10:49:31 +0000 |
|---|---|---|
| committer | Ben Myers <[email protected]> | 2013-08-12 21:35:41 +0000 |
| commit | d386b32b553ce145fb40f0d9360b6e5a79b5a80c (patch) | |
| tree | e00135dfc377ec6b4f8a7f48e6e39b33bd842199 /fs/xfs/xfs_dir2_format.h | |
| parent | xfs: introduce xfs_quota_defs.h (diff) | |
| download | kernel-d386b32b553ce145fb40f0d9360b6e5a79b5a80c.tar.gz kernel-d386b32b553ce145fb40f0d9360b6e5a79b5a80c.zip | |
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 <[email protected]>
Reviewed-by: Brian Foster <[email protected]>
Reviewed-by: Mark Tinguely <[email protected]>
Signed-off-by: Ben Myers <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_dir2_format.h')
| -rw-r--r-- | fs/xfs/xfs_dir2_format.h | 3 |
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 { #define XFS_DIR3_LEAF_CRC_OFF offsetof(struct xfs_dir3_leaf_hdr, info.crc) +extern void xfs_dir3_leaf_hdr_from_disk(struct xfs_dir3_icleaf_hdr *to, + struct xfs_dir2_leaf *from); + static inline int xfs_dir3_leaf_hdr_size(struct xfs_dir2_leaf *lp) { |
