diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2016-11-07 19:59:12 -0500 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-11-07 19:59:12 -0500 |
commit | 5e52365ac86394ce4e5e2305ef4e66bd05cbf120 (patch) | |
tree | 8712a8e9f5ea251fdc27c3f9d8b1472d0a6a4a9c | |
parent | e6fc6fcf4447c9266038c55c25e4c7c14bee110c (diff) |
xfs: move dir_ino_validate declaration per xfsprogs
Move the declaration of _dir_ino_validate out of the private
dir2 header file into the public one, since xfsprogs did that
for the benefit of xfs_repair.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
-rw-r--r-- | fs/xfs/libxfs/xfs_dir2.h | 2 | ||||
-rw-r--r-- | fs/xfs/libxfs/xfs_dir2_priv.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_dir2.h b/fs/xfs/libxfs/xfs_dir2.h index b55db61bd913..0197590fa7d7 100644 --- a/fs/xfs/libxfs/xfs_dir2.h +++ b/fs/xfs/libxfs/xfs_dir2.h | |||
@@ -180,6 +180,8 @@ extern struct xfs_dir2_data_free *xfs_dir2_data_freefind( | |||
180 | struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf, | 180 | struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf, |
181 | struct xfs_dir2_data_unused *dup); | 181 | struct xfs_dir2_data_unused *dup); |
182 | 182 | ||
183 | extern int xfs_dir_ino_validate(struct xfs_mount *mp, xfs_ino_t ino); | ||
184 | |||
183 | extern const struct xfs_buf_ops xfs_dir3_block_buf_ops; | 185 | extern const struct xfs_buf_ops xfs_dir3_block_buf_ops; |
184 | extern const struct xfs_buf_ops xfs_dir3_leafn_buf_ops; | 186 | extern const struct xfs_buf_ops xfs_dir3_leafn_buf_ops; |
185 | extern const struct xfs_buf_ops xfs_dir3_leaf1_buf_ops; | 187 | extern const struct xfs_buf_ops xfs_dir3_leaf1_buf_ops; |
diff --git a/fs/xfs/libxfs/xfs_dir2_priv.h b/fs/xfs/libxfs/xfs_dir2_priv.h index ef9f6ead96a4..d04547fcf274 100644 --- a/fs/xfs/libxfs/xfs_dir2_priv.h +++ b/fs/xfs/libxfs/xfs_dir2_priv.h | |||
@@ -21,7 +21,6 @@ | |||
21 | struct dir_context; | 21 | struct dir_context; |
22 | 22 | ||
23 | /* xfs_dir2.c */ | 23 | /* xfs_dir2.c */ |
24 | extern int xfs_dir_ino_validate(struct xfs_mount *mp, xfs_ino_t ino); | ||
25 | extern int xfs_dir2_grow_inode(struct xfs_da_args *args, int space, | 24 | extern int xfs_dir2_grow_inode(struct xfs_da_args *args, int space, |
26 | xfs_dir2_db_t *dbp); | 25 | xfs_dir2_db_t *dbp); |
27 | extern int xfs_dir_cilookup_result(struct xfs_da_args *args, | 26 | extern int xfs_dir_cilookup_result(struct xfs_da_args *args, |