btrfs-progs: annotate fallthroughs in parse_limit

We intentionally fall through these case statements;
just annotate it to be clear.

Resolves-Coverity-CID: 1054884
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
This commit is contained in:
Eric Sandeen 2013-11-06 17:15:55 -06:00 committed by Chris Mason
parent 7bee7b2f2a
commit 06ceeb209e

View File

@ -120,12 +120,15 @@ static int parse_limit(const char *p, unsigned long long *s)
case 'T':
case 't':
size *= 1024;
/* fallthrough */
case 'G':
case 'g':
size *= 1024;
/* fallthrough */
case 'M':
case 'm':
size *= 1024;
/* fallthrough */
case 'K':
case 'k':
size *= 1024;