diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-05-19 08:27:30 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2010-05-21 20:01:02 +0200 |
commit | f1ac2502e19c59e996242d406fcc60e4c563e8ce (patch) | |
tree | 0db91a25c4b754f8c03960cc308715200a974efc /block/genhd.c | |
parent | 6423104b6a1e6f0c18be60e8c33f02d263331d5e (diff) | |
download | linux-f1ac2502e19c59e996242d406fcc60e4c563e8ce.tar.gz linux-f1ac2502e19c59e996242d406fcc60e4c563e8ce.tar.bz2 linux-f1ac2502e19c59e996242d406fcc60e4c563e8ce.zip |
block: remove all rcu head 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: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/genhd.c')
-rw-r--r-- | block/genhd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/block/genhd.c b/block/genhd.c index 154b5f80b3ab..59a2db6fecef 100644 --- a/block/genhd.c +++ b/block/genhd.c @@ -988,7 +988,6 @@ int disk_expand_part_tbl(struct gendisk *disk, int partno) if (!new_ptbl) return -ENOMEM; - INIT_RCU_HEAD(&new_ptbl->rcu_head); new_ptbl->len = target; for (i = 0; i < len; i++) |