UBIFS: check return code of ubifs_lpt_lookup
authorVasiliy Kulikov <segooon@gmail.com>
Sun, 5 Sep 2010 18:33:00 +0000 (22:33 +0400)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 7 Sep 2010 09:09:41 +0000 (12:09 +0300)
commit0e54c8992a35ab8126e8a7661007ddc1745a2597
treeda9652f72841fefb23f261fc824af0c36e089061
parent3a8fa0ed3e1a8dc54f9297d2a2292b87e03e21b5
UBIFS: check return code of ubifs_lpt_lookup

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

[Tweaked by Artem Bityutskiy]

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