Revert "NFSv4: Add missing rescheduling points in nfs_client_return_marked_delegations"

This reverts commit 3f033e95e7.
This commit is contained in:
Ksawlii 2024-11-24 00:23:38 +01:00
parent f892b38843
commit 223197c81f

View file

@ -47,7 +47,6 @@
#include <linux/vfs.h> #include <linux/vfs.h>
#include <linux/inet.h> #include <linux/inet.h>
#include <linux/in6.h> #include <linux/in6.h>
#include <linux/sched.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <net/ipv6.h> #include <net/ipv6.h>
#include <linux/netdevice.h> #include <linux/netdevice.h>
@ -220,7 +219,6 @@ static int __nfs_list_for_each_server(struct list_head *head,
ret = fn(server, data); ret = fn(server, data);
if (ret) if (ret)
goto out; goto out;
cond_resched();
rcu_read_lock(); rcu_read_lock();
} }
rcu_read_unlock(); rcu_read_unlock();