From: Darrick J. Wong Date: Tue, 10 Jan 2017 02:16:33 +0000 (-0600) Subject: libxfs: remove useless stuff from the kernel X-Git-Tag: v4.10.0-rc1~89 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc199464996b87479ea87db7bc7a03c8ff22663e;p=thirdparty%2Fxfsprogs-dev.git 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 --- 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,