diff options
author | Qu Wenruo <wqu@suse.com> | 2018-08-13 14:02:43 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-10-23 14:48:38 +0200 |
commit | 26300de0376cedc7426dbab1296714c690b804d0 (patch) | |
tree | 4c9b804ddb8534322fa4859d511e6cff7694f084 /cmds-restore.c | |
parent | 9f45658fd2ccc9a2cbc259eb7e4d3132e2b92f83 (diff) |
btrfs-progs: completion: use _filedir to replace _btrfs_devs
For developers it's pretty common to call "btrfs check" on a raw image
dump other than real block device. It's also possible to end users to
do some tests on loop devices.
So current _btrfs_devs() is really making things worse. Use _filedir()
to replace _btrfs_devs() so it can complete any filenames, no matter if
it's just a file or a real block device.
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-restore.c')
0 files changed, 0 insertions, 0 deletions