* [PATCH] btrfs-progs: write down the meaning of BTRFS_ARG_BLKDEV
@ 2016-02-05 8:07 Satoru Takeuchi
2016-02-05 15:20 ` David Sterba
0 siblings, 1 reply; 2+ messages in thread
From: Satoru Takeuchi @ 2016-02-05 8:07 UTC (permalink / raw)
To: linux-btrfs@vger.kernel.org
Although BTRFS_ARG_BLKDEV can be returned from check_arg_type(),
it's not explained the meaning.
Signed-off-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-02-05 15:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-05 8:07 [PATCH] btrfs-progs: write down the meaning of BTRFS_ARG_BLKDEV Satoru Takeuchi
2016-02-05 15:20 ` David Sterba
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).