mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
fs: remove all rcu head initializations, except on_stack initializations
Remove all rcu head inits. We don't care about the RCU head state before passing it to call_rcu() anyway. Only leave the "on_stack" variants so debugobjects can keep track of objects on stack. Signed-off-by: Alexey Dobriyan <[email protected]> Signed-off-by: Mathieu Desnoyers <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]> Cc: Alexander Viro <[email protected]> Cc: Andries Brouwer <[email protected]>
This commit is contained in:
parent
9161e329ef
commit
b97181f242
3 changed files with 26 additions and 9 deletions
|
|
@ -459,7 +459,6 @@ struct hd_struct *add_partition(struct gendisk *disk, int partno,
|
|||
}
|
||||
|
||||
/* everything is up and running, commence */
|
||||
INIT_RCU_HEAD(&p->rcu_head);
|
||||
rcu_assign_pointer(ptbl->part[partno], p);
|
||||
|
||||
/* suppress uevent if the disk supresses it */
|
||||
|
|
|
|||
Loading…
Reference in a new issue