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