From bc199464996b87479ea87db7bc7a03c8ff22663e Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Mon, 9 Jan 2017 20:16:33 -0600 Subject: [PATCH] libxfs: remove useless stuff from the kernel Evidently the libxfs-apply script sucked in some fs/xfs/ content from the kernel patches and an extra redefinition of _bmap_search_extents. We don't need this, so get rid of it. Signed-off-by: Darrick J. Wong Reviewed-by: Christoph Hellwig Signed-off-by: Eric Sandeen --- fs/xfs/xfs_rmap_item.c | 0 fs/xfs/xfs_rmap_item.h | 0 libxfs/xfs_bmap.h | 7 ------- 3 files changed, 7 deletions(-) delete mode 100644 fs/xfs/xfs_rmap_item.c delete mode 100644 fs/xfs/xfs_rmap_item.h diff --git a/fs/xfs/xfs_rmap_item.c b/fs/xfs/xfs_rmap_item.c deleted file mode 100644 index e69de29bb..000000000 diff --git a/fs/xfs/xfs_rmap_item.h b/fs/xfs/xfs_rmap_item.h deleted file mode 100644 index e69de29bb..000000000 diff --git a/libxfs/xfs_bmap.h b/libxfs/xfs_bmap.h index 482e1517c..7cae6ec27 100644 --- a/libxfs/xfs_bmap.h +++ b/libxfs/xfs_bmap.h @@ -246,13 +246,6 @@ int xfs_bmapi_reserve_delalloc(struct xfs_inode *ip, int whichfork, struct xfs_bmbt_irec *got, struct xfs_bmbt_irec *prev, xfs_extnum_t *lastx, int eof); -struct xfs_bmbt_rec_host * - xfs_bmap_search_extents(struct xfs_inode *ip, xfs_fileoff_t bno, - int fork, int *eofp, xfs_extnum_t *lastxp, - struct xfs_bmbt_irec *gotp, - struct xfs_bmbt_irec *prevp); - - enum xfs_bmap_intent_type { XFS_BMAP_MAP = 1, XFS_BMAP_UNMAP, -- 2.47.3