diff options
author | Howard McLauchlan <hmclauchlan@fb.com> | 2018-04-18 18:02:35 -0700 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-05-28 18:07:18 +0200 |
commit | 6faa8f475eeaf5d89f985ad3b91b90ab0cf219e6 (patch) | |
tree | 305a98f0ed53869af41ec4514600a20dc709e3b3 /fs/btrfs/extent_io.h | |
parent | f46b24c9457143a367c6707eac82d546e2bcf280 (diff) | |
download | lwn-6faa8f475eeaf5d89f985ad3b91b90ab0cf219e6.tar.gz lwn-6faa8f475eeaf5d89f985ad3b91b90ab0cf219e6.zip |
btrfs: clean up le_bitmap_{set, clear}()
le_bitmap_set() is only used by free-space-tree, so move it there and
make it static. le_bitmap_clear() is not used, so remove it.
Signed-off-by: Howard McLauchlan <hmclauchlan@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent_io.h')
-rw-r--r-- | fs/btrfs/extent_io.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h index a53009694b16..d34416c831bf 100644 --- a/fs/btrfs/extent_io.h +++ b/fs/btrfs/extent_io.h @@ -84,9 +84,6 @@ static inline int le_test_bit(int nr, const u8 *addr) return 1U & (addr[BIT_BYTE(nr)] >> (nr & (BITS_PER_BYTE-1))); } -void le_bitmap_set(u8 *map, unsigned int start, int len); -void le_bitmap_clear(u8 *map, unsigned int start, int len); - struct extent_state; struct btrfs_root; struct btrfs_inode; |