mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
fs: Eliminate cond_resched_rcu_qs() in favor of cond_resched()
Now that cond_resched() also provides RCU quiescent states when needed, it can be used in place of cond_resched_rcu_qs(). This commit therefore makes this change. Signed-off-by: Paul E. McKenney <[email protected]> Cc: Alexander Viro <[email protected]> Cc: <[email protected]>
This commit is contained in:
parent
edf22f4ca2
commit
388a4c8806
1 changed files with 1 additions and 1 deletions
|
|
@ -391,7 +391,7 @@ static struct fdtable *close_files(struct files_struct * files)
|
|||
struct file * file = xchg(&fdt->fd[i], NULL);
|
||||
if (file) {
|
||||
filp_close(file, files);
|
||||
cond_resched_rcu_qs();
|
||||
cond_resched();
|
||||
}
|
||||
}
|
||||
i++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue