UBIFS: fix assertion
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 9 Jun 2012 09:08:23 +0000 (12:08 +0300)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 18 Jun 2012 11:17:08 +0000 (14:17 +0300)
commit1cfb7271076a265b7c2cbbf9cf5c2ae060a24385
treee474f1789c112e8b0acf23cbb42f271eb5e7495b
parent485802a6c524e62b5924849dd727ddbb1497cc71
UBIFS: fix assertion

The asserts here never check anything because it uses '|' instead of
'&'.  Now if the flags are not set it prints a warning a a stack trace.

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