summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_itable.h
diff options
context:
space:
mode:
authorDarrick J. Wong2017-10-18 06:37:34 +0200
committerDarrick J. Wong2017-10-27 00:38:23 +0200
commit91fb9afc0847926ef6ea7695b8125c8fbe7974d6 (patch)
tree3081f56bd69cad0fcd0906c80a151a8dd463ffca /fs/xfs/xfs_itable.h
parentxfs: refactor btree block header checking functions (diff)
downloadkernel-qcow2-linux-91fb9afc0847926ef6ea7695b8125c8fbe7974d6.tar.gz
kernel-qcow2-linux-91fb9afc0847926ef6ea7695b8125c8fbe7974d6.tar.xz
kernel-qcow2-linux-91fb9afc0847926ef6ea7695b8125c8fbe7974d6.zip
xfs: create inode pointer verifiers
Create some helper functions to check that inode pointers point to somewhere within the filesystem and not at the static AG metadata. Move xfs_internal_inum and create a directory inode check function. We will use these functions in scrub and elsewhere. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_itable.h')
-rw-r--r--fs/xfs/xfs_itable.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/xfs_itable.h b/fs/xfs/xfs_itable.h
index 17e86e0541af..6ea8b3912fa4 100644
--- a/fs/xfs/xfs_itable.h
+++ b/fs/xfs/xfs_itable.h
@@ -96,6 +96,4 @@ xfs_inumbers(
void __user *buffer, /* buffer with inode info */
inumbers_fmt_pf formatter);
-int xfs_internal_inum(struct xfs_mount *mp, xfs_ino_t ino);
-
#endif /* __XFS_ITABLE_H__ */