Message ID | 2ea1dea7-13b5-b984-03ce-2d88d4f9d220@jp.fujitsu.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Thu, Aug 24, 2017 at 02:18:25PM +0900, Misono, Tomohiro wrote: > I found some btrfs commands options are not working because of > inappropriate getopt_long() setting. > > This fixes "btrfs check -Q/-E" > > Signed-off-by: Tomohiro Misono <misono.tomohiro@jp.fujitsu.com> Patches 1-3 and the doc fix applied with some changelog updates, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/cmds-check.c b/cmds-check.c index c5faa2b..465fd17 100644 --- a/cmds-check.c +++ b/cmds-check.c @@ -12745,7 +12745,7 @@ int cmd_check(int argc, char **argv) { NULL, 0, NULL, 0} }; - c = getopt_long(argc, argv, "as:br:p", long_options, NULL); + c = getopt_long(argc, argv, "as:br:pQE:", long_options, NULL); if (c < 0) break; switch(c) {
I found some btrfs commands options are not working because of inappropriate getopt_long() setting. This fixes "btrfs check -Q/-E" Signed-off-by: Tomohiro Misono <misono.tomohiro@jp.fujitsu.com> --- cmds-check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)