UBI: Add some asserts to ubi_attach_fastmap()
authorRichard Weinberger <richard@nod.at>
Sat, 28 Sep 2013 13:55:16 +0000 (15:55 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 3 Oct 2013 16:42:51 +0000 (19:42 +0300)
commitae0d146955665411a6d4cea5e0893429cfc52807
tree177d30ac3bc4a5b8aa751b97e722f8150a6259c7
parentfe24c6e5f51ec5ea42d432f67618a084047a23ed
UBI: Add some asserts to ubi_attach_fastmap()

Add more paranioa asserts to make it easier to detect
implementation errors.

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/ubi/fastmap.c