From: Eric Sandeen Date: Mon, 14 Apr 2014 06:13:17 +0000 (+1000) Subject: libxfs: annotate a case fallthrough in libxfs_ialloc X-Git-Tag: v3.2.0-rc1~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90ec25ed59ad90775a5c237728f8d7a4e530cc58;p=thirdparty%2Fxfsprogs-dev.git libxfs: annotate a case fallthrough in libxfs_ialloc This is all working as intended, but add a comment to make it more obvious to readers and static code checkers. Signed-off-by: Eric Sandeen Reviewed-by: Brian Foster Signed-off-by: Dave Chinner --- diff --git a/libxfs/util.c b/libxfs/util.c index 03befb732..4c4032480 100644 --- a/libxfs/util.c +++ b/libxfs/util.c @@ -265,6 +265,7 @@ libxfs_ialloc( case S_IFSOCK: /* doesn't make sense to set an rdev for these */ rdev = 0; + /* FALLTHROUGH */ case S_IFCHR: case S_IFBLK: ip->i_d.di_format = XFS_DINODE_FMT_DEV;