]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: use full subcommand name at _btrfs_get_subvolid()
authorFilipe Manana <fdmanana@suse.com>
Fri, 22 Sep 2023 11:45:01 +0000 (12:45 +0100)
committerZorro Lang <zlang@kernel.org>
Sat, 23 Sep 2023 14:13:06 +0000 (22:13 +0800)
commit70ff4b82ea80d1f1fecb1fe3e3894323e575cd1d
treeac27518a0a2cfee772398918d22d3a2bbbcc9956
parentd6ac854df754c4fc62062a01457d6d91aa7e2a3a
btrfs: use full subcommand name at _btrfs_get_subvolid()

Avoid using the shortcut "sub" for the "subvolume" command, as this is the
standard practice because such shortcuts are not guaranteed to exist in
every btrfs-progs release (they may come and go). Also make the variables
local.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/btrfs