Skip to content

Commit c3754da

Browse files
reiserfs: Fix fall-through warnings for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning by explicitly adding a break statement instead of letting the code fall through to the next case. Link: KSPP#115 Signed-off-by: Gustavo A. R. Silva <[email protected]>
1 parent fc79809 commit c3754da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/reiserfs/namei.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ int search_by_entry_key(struct super_block *sb, const struct cpu_key *key,
132132
return IO_ERROR;
133133
}
134134
PATH_LAST_POSITION(path)--;
135+
break;
135136

136137
case ITEM_FOUND:
137138
break;

0 commit comments

Comments
 (0)