-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Thie adds an option -D (or --dedupe) to fdupes which issues the BTRFS_IOC_FILE_EXTENT_SAME ioctl on files that it detects as duplicates, causing btrfs to deduplicate the data on disk. This build option needs to be turned on separately in the Makefile by setting the HAVE_BTRFS_IOCTL_H preprocessor macro to not break builds missing this header. Also fixes a memory leak in escapefilename().
- Loading branch information
Showing
3 changed files
with
186 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters