From: Dave Chinner Date: Wed, 29 Jul 2015 01:52:08 +0000 (+1000) Subject: libxfs: add xfs_bit.c X-Git-Tag: v4.3-rc1~65^2~5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cfc4a9cf89d23727c6678170aa5949a676fc566;p=thirdparty%2Fkernel%2Flinux.git libxfs: add xfs_bit.c The header side of xfs_bit.c is already in libxfs, and the sparse inode code requires the xfs_next_bit() function so pull in the xfs_bit.c file so that a sparse inode enabled libxfs compiles cleanly in userspace. Signed-off-by: Dave Chinner Reviewed-by: Brian Foster Signed-off-by: Dave Chinner --- diff --git a/fs/xfs/Makefile b/fs/xfs/Makefile index df6828570e874..a096841bd06ca 100644 --- a/fs/xfs/Makefile +++ b/fs/xfs/Makefile @@ -33,6 +33,7 @@ xfs-y += $(addprefix libxfs/, \ xfs_attr.o \ xfs_attr_leaf.o \ xfs_attr_remote.o \ + xfs_bit.o \ xfs_bmap.o \ xfs_bmap_btree.o \ xfs_btree.o \ @@ -63,7 +64,6 @@ xfs-$(CONFIG_XFS_RT) += $(addprefix libxfs/, \ xfs-y += xfs_aops.o \ xfs_attr_inactive.o \ xfs_attr_list.o \ - xfs_bit.o \ xfs_bmap_util.o \ xfs_buf.o \ xfs_dir2_readdir.o \ diff --git a/fs/xfs/xfs_bit.c b/fs/xfs/libxfs/xfs_bit.c similarity index 100% rename from fs/xfs/xfs_bit.c rename to fs/xfs/libxfs/xfs_bit.c