Skip to content

Commit 216e1f5

Browse files
committed
btrfs-progs: remove btrfs-fragments
The btrfs-fragments utility generates a html page with a set of images representing block groups and visualises fragmentation. Though this might be useful, the build has been broken since commit 877f512 ("btrfs-progs: sync block group item accessors from kernel"), version 5.7. Also it's been out of date regarding newly added trees or data structure updates and does not work correctly anymore. Signed-off-by: David Sterba <[email protected]>
1 parent 45ecf4f commit 216e1f5

File tree

3 files changed

+1
-462
lines changed

3 files changed

+1
-462
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
/btrfs.static
99
/btrfs-map-logical
1010
/btrfs-map-logical.static
11-
/btrfs-fragments
12-
/btrfs-fragments.static
1311
/btrfsck
1412
/mkfs.btrfs
1513
/mkfs.btrfs.static

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ progs_build = $(progs_install) btrfsck btrfs-corrupt-block
359359

360360
# All programs. Use := instead of = so that this is expanded before we reassign
361361
# progs_build below.
362-
progs := $(progs_build) btrfs-convert btrfs-fragments btrfs-sb-mod
362+
progs := $(progs_build) btrfs-convert btrfs-sb-mod
363363

364364
ifneq ($(DISABLE_BTRFSCONVERT),1)
365365
progs_install += btrfs-convert
@@ -378,7 +378,6 @@ endif
378378
# specify btrfs_foo_libs = <list of libs>; see $($(subst...)) rules below
379379
btrfs_convert_cflags = -DBTRFSCONVERT_EXT2=$(BTRFSCONVERT_EXT2)
380380
btrfs_convert_cflags += -DBTRFSCONVERT_REISERFS=$(BTRFSCONVERT_REISERFS)
381-
btrfs_fragments_libs = -lgd -lpng -ljpeg -lfreetype
382381
cmds_restore_cflags = -DCOMPRESSION_LZO=$(COMPRESSION_LZO) -DCOMPRESSION_ZSTD=$(COMPRESSION_ZSTD)
383382

384383
ifeq ($(CRYPTOPROVIDER_BUILTIN),1)

0 commit comments

Comments
 (0)