Skip to content

Commit 4bb5943

Browse files
salah-trikiluisbg
authored andcommitted
fs: befs: Coding style fix
Constant has to be capitalized. Signed-off-by: Salah Triki <salah.triki@gmail.com> Acked-by: Luis de Bethencourt <luisbg@osg.samsung.com>
1 parent d84e4a5 commit 4bb5943

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎fs/befs/btree.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ struct befs_btree_node {
8585
};
8686

8787
/* local constants */
88-
static const befs_off_t befs_bt_inval = 0xffffffffffffffffULL;
88+
static const befs_off_t BEFS_BT_INVAL = 0xffffffffffffffffULL;
8989

9090
/* local functions */
9191
static int befs_btree_seekleaf(struct super_block *sb, const befs_data_stream *ds,
@@ -467,7 +467,7 @@ befs_btree_read(struct super_block *sb, const befs_data_stream *ds,
467467
while (key_sum + this_node->head.all_key_count <= key_no) {
468468

469469
/* no more nodes to look in: key_no is too large */
470-
if (this_node->head.right == befs_bt_inval) {
470+
if (this_node->head.right == BEFS_BT_INVAL) {
471471
*keysize = 0;
472472
*value = 0;
473473
befs_debug(sb,
@@ -608,7 +608,7 @@ static int
608608
befs_leafnode(struct befs_btree_node *node)
609609
{
610610
/* all interior nodes (and only interior nodes) have an overflow node */
611-
if (node->head.overflow == befs_bt_inval)
611+
if (node->head.overflow == BEFS_BT_INVAL)
612612
return 1;
613613
else
614614
return 0;

0 commit comments

Comments
 (0)