f2fs: handle errors from get_node_page calls
authorJason Hrycay <jhrycay@gmail.com>
Fri, 31 May 2013 17:45:11 +0000 (12:45 -0500)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 3 Jun 2013 10:49:09 +0000 (19:49 +0900)
commit1e03e38b35b8e72d65fd5d931627bd6ff02926c1
treee8da576270efe341f63e1e5bd2cc033631dc84cf
parent83d5d6f66b375f21bee4c2e17178f7c073a66301
f2fs: handle errors from get_node_page calls

Add check for error pointers returned from get_node_page in order to
avoid dereferencing a bad address on the next use.

Signed-off-by: Jason Hrycay <jason.hrycay@motorola.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/xattr.c