]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs_quota: fix missing break after foreign_allowed option
authorZorro Lang <zlang@redhat.com>
Thu, 8 Sep 2016 00:21:35 +0000 (10:21 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 8 Sep 2016 00:21:35 +0000 (10:21 +1000)
New quota "-f" has been brought in by:

  29647c8 xfs_quota: add capabilities for use on non-XFS filesystems

But Coverity Scan find a missing break in quota/init.c: init()
function.

Signed-off-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
quota/init.c

index 44be3222bd992f5ed11f8a100b6da8ce2a6b520e..2c18c8b0e8a4d469b9f0fc3e70b04ff7009b4a02 100644 (file)
@@ -153,6 +153,7 @@ init(
                        break;
                case 'f':
                        foreign_allowed = true;
+                       break;
                case 't':
                        mtab_file = optarg;
                        break;