Skip to content

btrfs-progs: completion: Small fixes to make debug simpler

Qu Wenruo linux-btrfs 2 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied
  2. v12 patches 3 repliesSuperseded

Changes in v2 from the cover letter

Discard _btrfs_dev() macro completely.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2btrfs-progs: completion: Use _filedir() to replace _btrfs_devs()btrfs-completion+5 -120 replies
2/2btrfs-progs: completion: Let dump-tree/dump-super/inode-resolve to accept any filebtrfs-completion+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] btrfs-progs: completion: Small fixes to make debug simpler

For developer, it's pretty common to use "btrfs check" or "btrfs ins dump-tree" on raw dumps.
Even for end user, they may hit case where they need to run "btrfs check" on raw images.

However "btrfs check" can only complete real block devices, and "btrfs inspect dump-tree" can only complete dir.

Make them to use _filedir() so any filename can be completed and save us developer a little time and nerve hitting that holy tab.

changelog:
v2:
Discard _btrfs_dev() macro completely.

Qu Wenruo (2):
btrfs-progs: completion: Use _filedir() to replace _btrfs_devs()
btrfs-progs: completion: Let dump-tree/dump-super/inode-resolve to
accept any file

 btrfs-completion | 19 ++++++-------------
 1 file changed, 6 insertions(+), 13 deletions(-)
Signature · 1 line
2.18.0