UBIFS: add a couple of extra asserts
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tue, 25 Nov 2014 14:41:26 +0000 (16:41 +0200)
committerRichard Weinberger <richard@nod.at>
Wed, 28 Jan 2015 15:09:32 +0000 (16:09 +0100)
commitfb4325a3d9f983160f142b919880ccbe2304bc25
treeb30d730e5fdb0482f71f2738536e41d5bdc90feb
parent0e707ae79ba357d60b8a36025ec8968e5020d827
UBIFS: add a couple of extra asserts

... to catch possible memory corruptions.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
fs/ubifs/debug.c