f2fs: fix an endian conversion bug detected by sparse
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Sun, 23 Jun 2013 22:47:23 +0000 (07:47 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 1 Jul 2013 23:48:13 +0000 (08:48 +0900)
commit060dd67b3c0d451ea2c41e6a87811b4736a984e4
treebf211a3fab8c62589a4439fbbd26afa1009ca930
parent7e586fa0244578320fcced9cc08c6b124f727c35
f2fs: fix an endian conversion bug detected by sparse

This patch should fix the following bug reported by kbuild test robot.

fs/f2fs/recovery.c:233:33: sparse: incorrect type in assignment
(different base types)

parse warnings: (new ones prefixed by >>)

>> recovery.c:233: sparse: incorrect type in assignment (different base types)
   recovery.c:233:    expected unsigned int [unsigned] [assigned] ofs_in_node
   recovery.c:233:    got restricted __le16 [assigned] [usertype] ofs_in_node
>> recovery.c:238: sparse: incorrect type in assignment (different base types)
   recovery.c:238:    expected unsigned int [unsigned] ofs_in_node
   recovery.c:238:    got restricted __le16 [assigned] [usertype] ofs_in_node

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/recovery.c