f2fs: return a default value for non-void function
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Fri, 21 Dec 2012 02:47:05 +0000 (11:47 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Fri, 28 Dec 2012 02:24:09 +0000 (11:24 +0900)
commit12a67146e35ba1d04ac4a5430eaaa8790158d60e
tree9a3a2c0768d04fba20e0be8cc07f9cb6ae4a71c5
parent71e9fec548a95b2a4cf378646addd5d3098684a2
f2fs: return a default value for non-void function

This patch resolves a build warning reported by kbuild test robot.

"
fs/f2fs/segment.c: In function '__get_segment_type':
fs/f2fs/segment.c:806:1: warning: control reaches end of non-void
function [-Wreturn-type]
"

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