[PATCH 09/14] xfsprogs: annotate a case fallthrough in libxfs_ialloc
Eric Sandeen
sandeen at redhat.com
Tue Apr 8 18:24:59 CDT 2014
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 <sandeen at redhat.com>
---
libxfs/util.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libxfs/util.c b/libxfs/util.c
index f1aa4c6..1e48079 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;
--
1.7.1
More information about the xfs
mailing list