Loading fs/f2fs/data.c +2 −2 Original line number Diff line number Diff line Loading @@ -3896,7 +3896,7 @@ static int check_swap_activate_fast(struct swap_info_struct *sis, /* hole */ if (!(map.m_flags & F2FS_MAP_FLAGS)) { f2fs_err(sbi, "Swapfile has holes\n"); ret = -ENOENT; ret = -EINVAL; goto out; } Loading Loading @@ -4052,7 +4052,7 @@ static int check_swap_activate(struct swap_info_struct *sis, return ret; bad_bmap: f2fs_err(sbi, "Swapfile has holes\n"); return -ENOENT; return -EINVAL; } static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, Loading Loading
fs/f2fs/data.c +2 −2 Original line number Diff line number Diff line Loading @@ -3896,7 +3896,7 @@ static int check_swap_activate_fast(struct swap_info_struct *sis, /* hole */ if (!(map.m_flags & F2FS_MAP_FLAGS)) { f2fs_err(sbi, "Swapfile has holes\n"); ret = -ENOENT; ret = -EINVAL; goto out; } Loading Loading @@ -4052,7 +4052,7 @@ static int check_swap_activate(struct swap_info_struct *sis, return ret; bad_bmap: f2fs_err(sbi, "Swapfile has holes\n"); return -ENOENT; return -EINVAL; } static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, Loading