Re: [PATCH] btrfs-progs: write down the meaning of BTRFS_ARG_BLKDEV
On Fri, Feb 05, 2016 at 05:07:34PM +0900, Satoru Takeuchi wrote: > Although BTRFS_ARG_BLKDEV can be returned from check_arg_type(), > it's not explained the meaning. > > Signed-off-by: Satoru TakeuchiApplied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH] 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. Signed-off-by: Satoru Takeuchi--- utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/utils.c b/utils.c index 3df8b42..eabc36d 100644 --- a/utils.c +++ b/utils.c @@ -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) { -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html