diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-03-16 09:56:57 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-03-16 10:52:02 +0200 |
commit | fb1cd01a33ecb8a49d590c034ba146dff80c5597 (patch) | |
tree | d963edf8512c6979fd7c8a34b6550a81e9828128 /fs/ubifs/sb.c | |
parent | c9927c3ee2d3d14893efd793a2a9ea772ddb4289 (diff) | |
download | kernel_samsung_crespo-fb1cd01a33ecb8a49d590c034ba146dff80c5597.zip kernel_samsung_crespo-fb1cd01a33ecb8a49d590c034ba146dff80c5597.tar.gz kernel_samsung_crespo-fb1cd01a33ecb8a49d590c034ba146dff80c5597.tar.bz2 |
UBIFS: introduce a helpful variable
This patch introduces a helpful @c->idx_leb_size variable.
The patch also fixes some spelling issues and makes comments
use "LEB" instead of "eraseblock", which is more correct.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/sb.c')
-rw-r--r-- | fs/ubifs/sb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ubifs/sb.c b/fs/ubifs/sb.c index e070c64..0dec47c 100644 --- a/fs/ubifs/sb.c +++ b/fs/ubifs/sb.c @@ -623,7 +623,6 @@ int ubifs_read_superblock(struct ubifs_info *c) c->main_lebs = c->leb_cnt - UBIFS_SB_LEBS - UBIFS_MST_LEBS; c->main_lebs -= c->log_lebs + c->lpt_lebs + c->orph_lebs; c->main_first = c->leb_cnt - c->main_lebs; - c->report_rp_size = ubifs_reported_space(c, c->rp_size); err = validate_sb(c, sup); out: |