Skip to contentSkip to conversation

btrfs-progs: write down the meaning of BTRFS_ARG_BLKDEV

PATCH Applied Satoru Takeuchi 2 participants 2 messages Feb 5, 2016 Btrfs file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 btrfs-progs: write down the meaning of BTRFS_ARG_BLKDEV

Although BTRFS_ARG_BLKDEV can be returned from check_arg_type(), it's not explained the meaning.

---
 utils.c | 1 +
 1 file changed, 1 insertion(+)
utils.c +1 -0
index 3df8b42..eabc36d 100644
@@ -1007,6 +1007,7 @@ static int is_reg_file(const char *path)
  * return BTRFS_ARG_UUID:	given input is uuid
  * return BTRFS_ARG_MNTPOINT:	given input is path
  * return BTRFS_ARG_REG:	given input is regular file
+ * return BTRFS_ARG_BLKDEV:	given input is block device
  */
 int check_arg_type(const char *input)
 {
Signature · 1 line
2.5.0