]> bbs.cooldavid.org Git - net-next-2.6.git/commit
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)
commit6da5156fad495730cca9238ead566222175b30b9
treeda90bb6b4897c78e866e468236d067147ed5c150
parent276de5d2a18bcdc69e6d48a4d96afc14cfef9dcb
UBIFS: use ERR_CAST

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>
fs/ubifs/lpt.c
fs/ubifs/lpt_commit.c