diff --git a/fs/btrfs/reflink.c b/fs/btrfs/reflink.c index 39b3269e5760c13e8b7b20b327de256db50088a7..99aa87c089121b79acf26bcd3503f7f73f69ad5e 100644 --- a/fs/btrfs/reflink.c +++ b/fs/btrfs/reflink.c @@ -520,6 +520,8 @@ static int btrfs_clone(struct inode *src, struct inode *inode, ret = -EINTR; goto out; } + + cond_resched(); } ret = 0;