diff options
author | Dave Chinner <dchinner@redhat.com> | 2015-07-28 21:52:08 -0400 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2015-07-28 21:52:08 -0400 |
commit | 1cfc4a9cf89d23727c6678170aa5949a676fc566 (patch) | |
tree | 4570ac75f8196152880985fab4046241a6856ae6 | |
parent | d6077aa339d6580d12bd1089231eea2940383e32 (diff) |
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 <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
-rw-r--r-- | fs/xfs/Makefile | 2 | ||||
-rw-r--r-- | fs/xfs/libxfs/xfs_bit.c (renamed from fs/xfs/xfs_bit.c) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/Makefile b/fs/xfs/Makefile index df6828570e87..a096841bd06c 100644 --- a/fs/xfs/Makefile +++ b/fs/xfs/Makefile | |||
@@ -33,6 +33,7 @@ xfs-y += $(addprefix libxfs/, \ | |||
33 | xfs_attr.o \ | 33 | xfs_attr.o \ |
34 | xfs_attr_leaf.o \ | 34 | xfs_attr_leaf.o \ |
35 | xfs_attr_remote.o \ | 35 | xfs_attr_remote.o \ |
36 | xfs_bit.o \ | ||
36 | xfs_bmap.o \ | 37 | xfs_bmap.o \ |
37 | xfs_bmap_btree.o \ | 38 | xfs_bmap_btree.o \ |
38 | xfs_btree.o \ | 39 | xfs_btree.o \ |
@@ -63,7 +64,6 @@ xfs-$(CONFIG_XFS_RT) += $(addprefix libxfs/, \ | |||
63 | xfs-y += xfs_aops.o \ | 64 | xfs-y += xfs_aops.o \ |
64 | xfs_attr_inactive.o \ | 65 | xfs_attr_inactive.o \ |
65 | xfs_attr_list.o \ | 66 | xfs_attr_list.o \ |
66 | xfs_bit.o \ | ||
67 | xfs_bmap_util.o \ | 67 | xfs_bmap_util.o \ |
68 | xfs_buf.o \ | 68 | xfs_buf.o \ |
69 | xfs_dir2_readdir.o \ | 69 | xfs_dir2_readdir.o \ |
diff --git a/fs/xfs/xfs_bit.c b/fs/xfs/libxfs/xfs_bit.c index 0e8885a59646..0e8885a59646 100644 --- a/fs/xfs/xfs_bit.c +++ b/fs/xfs/libxfs/xfs_bit.c | |||