UBIFS: use ERR_CAST
authorJulia Lawall <julia@diku.dk>
Sat, 22 May 2010 10:00:21 +0000 (12:00 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sat, 12 Jun 2010 11:46:15 +0000 (14:46 +0300)
Use ERR_CAST(x) rather than ERR_PTR(PTR_ERR(x)).  The former makes more
clear what is the purpose of the operation, which otherwise looks like a
no-op.

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

No differences found