From: Artem Bityutskiy Date: Wed, 3 Sep 2008 15:26:47 +0000 (+0300) Subject: UBIFS: make minimum fanout 3 X-Git-Tag: v2.6.27-rc6~7^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a5cb562d6977d9d7989c346b7b153cef31ec0228;p=linux-2.6-omap-h63xx.git 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 --- diff --git a/fs/ubifs/ubifs-media.h b/fs/ubifs/ubifs-media.h index bd2121f3426..a9ecbd9af20 100644 --- a/fs/ubifs/ubifs-media.h +++ b/fs/ubifs/ubifs-media.h @@ -87,7 +87,7 @@ #define UBIFS_SK_LEN 8 /* Minimum index tree fanout */ -#define UBIFS_MIN_FANOUT 2 +#define UBIFS_MIN_FANOUT 3 /* Maximum number of levels in UBIFS indexing B-tree */ #define UBIFS_MAX_LEVELS 512