f2fs: return EINVAL for hole cases in swap file
authorJaegeuk Kim <jaegeuk@kernel.org>
Wed, 12 May 2021 14:38:00 +0000 (07:38 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 12 May 2021 14:38:00 +0000 (07:38 -0700)
commitf395183f9544ba2f56b25938d6ea7042bd873521
tree437c0ca66d85ab75a22406690014210622db713c
parentca298241bc229303ff683db7265a2c625a9c00fe
f2fs: return EINVAL for hole cases in swap file

This tries to fix xfstests/generic/495.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c