aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dir2_sf.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2013-08-12 06:49:37 -0400
committerBen Myers <bpm@sgi.com>2013-08-12 17:40:57 -0400
commit2b9ab5ab9c4a1f16f11ad883bfd21d5eb55e5bcc (patch)
tree1b55a17209cfde971a8bfca70d14cc2c937e8fbe /fs/xfs/xfs_dir2_sf.c
parent4a8af273de63d9656559ba5289e91f40aae0441f (diff)
xfs: reshuffle dir2 definitions around for userspace
Many of the definitions within xfs_dir2_priv.h are needed in userspace outside libxfs. Definitions within xfs_dir2_priv.h are wholly contained within libxfs, so we need to shuffle some of the definitions around to keep consistency across files shared between user and kernel space. 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_sf.c')
-rw-r--r--fs/xfs/xfs_dir2_sf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_dir2_sf.c b/fs/xfs/xfs_dir2_sf.c
index f24ce9044e72..65b65c5f8c3c 100644
--- a/fs/xfs/xfs_dir2_sf.c
+++ b/fs/xfs/xfs_dir2_sf.c
@@ -29,8 +29,8 @@
29#include "xfs_inode.h" 29#include "xfs_inode.h"
30#include "xfs_inode_item.h" 30#include "xfs_inode_item.h"
31#include "xfs_error.h" 31#include "xfs_error.h"
32#include "xfs_dir2.h"
33#include "xfs_dir2_format.h" 32#include "xfs_dir2_format.h"
33#include "xfs_dir2.h"
34#include "xfs_dir2_priv.h" 34#include "xfs_dir2_priv.h"
35#include "xfs_trace.h" 35#include "xfs_trace.h"
36 36
@@ -95,7 +95,7 @@ xfs_dir2_sf_get_parent_ino(
95 return xfs_dir2_sf_get_ino(hdr, &hdr->parent); 95 return xfs_dir2_sf_get_ino(hdr, &hdr->parent);
96} 96}
97 97
98static void 98void
99xfs_dir2_sf_put_parent_ino( 99xfs_dir2_sf_put_parent_ino(
100 struct xfs_dir2_sf_hdr *hdr, 100 struct xfs_dir2_sf_hdr *hdr,
101 xfs_ino_t ino) 101 xfs_ino_t ino)
@@ -123,7 +123,7 @@ xfs_dir2_sfe_get_ino(
123 return xfs_dir2_sf_get_ino(hdr, xfs_dir2_sfe_inop(sfep)); 123 return xfs_dir2_sf_get_ino(hdr, xfs_dir2_sfe_inop(sfep));
124} 124}
125 125
126static void 126void
127xfs_dir2_sfe_put_ino( 127xfs_dir2_sfe_put_ino(
128 struct xfs_dir2_sf_hdr *hdr, 128 struct xfs_dir2_sf_hdr *hdr,
129 struct xfs_dir2_sf_entry *sfep, 129 struct xfs_dir2_sf_entry *sfep,