Skip to content

Commit a5cb562

Browse files
Artem BityutskiyArtem Bityutskiy
authored andcommitted
UBIFS: make minimum fanout 3
UBIFS does not really work correctly when fanout is 2, because of the way we manage the indexing tree. It may just become a list and UBIFS screws up. Signed-off-by: Artem Bityutskiy <[email protected]>
1 parent f171d4d commit a5cb562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/ubifs/ubifs-media.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
#define UBIFS_SK_LEN 8
8888

8989
/* Minimum index tree fanout */
90-
#define UBIFS_MIN_FANOUT 2
90+
#define UBIFS_MIN_FANOUT 3
9191

9292
/* Maximum number of levels in UBIFS indexing B-tree */
9393
#define UBIFS_MAX_LEVELS 512

0 commit comments

Comments
 (0)