f2fs: return i_size if the hole is outside of i_size
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 28 Apr 2014 08:02:48 +0000 (17:02 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 7 May 2014 01:21:57 +0000 (10:21 +0900)
commitfe369bc8ba205537864cb86ba08b390ad20201c4
treefb90729c2017573b084121f9f16c52358679aa81
parent267378d4de696d4397cd611e62957d19b2a61357
f2fs: return i_size if the hole is outside of i_size

When SEEK_HOLE is requeted, it should return i_size if the hole position is
found outside of i_size.

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