mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-06 03:45:24 -04:00
Revert "btrfs: avoid monopolizing a core when activating a swap file"
This reverts commit3d770d44dd. The backport for linux-5.4.y, commit3d770d44dd("btrfs: avoid monopolizing a core when activating a swap file"), inserted cond_resched() in the wrong location. Revert it now; a subsequent commit will re-backport the original patch. Fixes:3d770d44dd("btrfs: avoid monopolizing a core when activating a swap file") # linux-5.4.y Signed-off-by: Koichiro Den <koichiro.den@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
67f70e61b8
commit
ed0c0c7de0
1 changed files with 0 additions and 2 deletions
|
|
@ -7679,8 +7679,6 @@ noinline int can_nocow_extent(struct inode *inode, u64 offset, u64 *len,
|
|||
ret = -EAGAIN;
|
||||
goto out;
|
||||
}
|
||||
|
||||
cond_resched();
|
||||
}
|
||||
|
||||
btrfs_release_path(path);
|
||||
|
|
|
|||
Loading…
Reference in a new issue