This tries to fix xfstests/generic/495.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
/* hole */
if (!(map.m_flags & F2FS_MAP_FLAGS)) {
f2fs_err(sbi, "Swapfile has holes\n");
/* hole */
if (!(map.m_flags & F2FS_MAP_FLAGS)) {
f2fs_err(sbi, "Swapfile has holes\n");
return ret;
bad_bmap:
f2fs_err(sbi, "Swapfile has holes\n");
return ret;
bad_bmap:
f2fs_err(sbi, "Swapfile has holes\n");
}
static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file,
}
static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file,