Message ID | c37ea7a8de12e996091ba295b2f201fbe680c96c.1733832118.git.fdmanana@suse.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | btrfs: fixes around swap file activation and cleanups | expand |
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 5edc151c640d..283199d11642 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -10078,6 +10078,8 @@ static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file, ret = -EINTR; goto out; } + + cond_resched(); } if (bsi.block_len)