| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 09/14] xfsprogs: annotate a case fallthrough in libxfs_ialloc |
| From: | Eric Sandeen <sandeen@xxxxxxxxxx> |
| Date: | Tue, 8 Apr 2014 18:24:59 -0500 |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1396999504-13769-1-git-send-email-sandeen@xxxxxxxxxx> |
| References: | <1396999504-13769-1-git-send-email-sandeen@xxxxxxxxxx> |
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@xxxxxxxxxx>
---
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
|
| Previous by Date: | [PATCH 03/14] xfsprogs: trivial buffer frees on error paths, Eric Sandeen |
|---|---|
| Next by Date: | [PATCH 00/14] xfsprogs: varius & sundry fixes for coverity defects, Eric Sandeen |
| Previous by Thread: | [PATCH 03/14 V2] xfsprogs: trivial buffer frees on error paths, Eric Sandeen |
| Next by Thread: | [PATCH 06/14] xfs_quota: fix memory leak in quota_group_type() error path, Eric Sandeen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |