summaryrefslogtreecommitdiff
path: root/fs/ubifs/lpt.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-12-19 20:26:29 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-12-23 13:23:29 +0300
commitaf14a1ad792621942a03e4bd0e5f17b6e177e2e0 (patch)
treeb91e77a8a1a373ca3dfcc84ec0feb243fb74e2e5 /fs/ubifs/lpt.c
parentd3cf502b6ccee1c52890d42cd18cbc98b7526126 (diff)
downloadlinux-af14a1ad792621942a03e4bd0e5f17b6e177e2e0.tar.xz
UBIFS: fix available blocks count
Take into account that 2 eraseblocks are never available because they are reserved for the index. This gives more realistic count of FS blocks. To avoid future confusions like this, introduce a constant. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/lpt.c')
0 files changed, 0 insertions, 0 deletions