2 * 2017 by Marek Behun <marek.behun@nic.cz>
4 * SPDX-License-Identifier: GPL-2.0+
12 int do_btrsubvol(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
17 if (fs_set_blk_dev(argv[1], argv[2], FS_TYPE_BTRFS))
24 U_BOOT_CMD(btrsubvol, 3, 1, do_btrsubvol,
25 "list subvolumes of a BTRFS filesystem",
26 "<interface> <dev[:part]>\n"
27 " - List subvolumes of a BTRFS filesystem."