UBIFS: check return code of pnode_lookup
authorVasiliy Kulikov <segooon@gmail.com>
Sun, 5 Sep 2010 18:33:04 +0000 (22:33 +0400)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 7 Sep 2010 09:10:43 +0000 (12:10 +0300)
commit8c893a5545ca772744376295690723dcb0b47d96
tree5e7f31c2b92e335bb6a7856d2229b3abd095d5cb
parent0e54c8992a35ab8126e8a7661007ddc1745a2597
UBIFS: check return code of pnode_lookup

Function pnode_lookup may return ERR_PTR(...). Check for it.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/lpt_commit.c