mirror of
https://github.com/nilfs-dev/nilfs-utils.git
synced 2026-01-26 13:43:15 +00:00
Update nilfs-clean to accept a regular file or directory path on the target filesystem in addition to a block device node. This change is implemented within the private library libcleaner. The functions nilfs_cleaner_launch() and nilfs_cleaner_open() in lib/cleaner_ctl.c are modified to automatically resolve the backing block device using the internal helper nilfs_lookup_device() if a filesystem node is passed. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>