UBIFS: remove useless @ecc in struct ubifs_scan_leb
authorhujianyang <hujianyang@huawei.com>
Tue, 24 Jun 2014 03:46:36 +0000 (11:46 +0800)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Sat, 19 Jul 2014 06:53:51 +0000 (09:53 +0300)
commitc7b5bb0beb80e5ee993118ae82d0b8264526b6bf
tree05423b7e781a036807e903f15ad7763ea580ec24
parentb793a8c8885d87d9867fb2dbfdc1ef7b5877d71b
UBIFS: remove useless @ecc in struct ubifs_scan_leb

We set @ecc in ubifs_scan_leb only if leb_read returns EBADMSG and
do not use it any more. This patch removes this variable and adds
comments about EBADMSG handling.

Artem: re-phrase commentaries

Signed-off-by: hujianyang <hujianyang@huawei.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
fs/ubifs/scan.c
fs/ubifs/ubifs.h