ext4: Use rcu_barrier() on module unload.
authorJesper Dangaard Brouer <hawk@comx.dk>
Mon, 6 Jul 2009 02:29:27 +0000 (22:29 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 6 Jul 2009 02:29:27 +0000 (22:29 -0400)
commit3e03f9ca6a2599db1823bb0ea24e0845219a0e69
tree5eddfee10fa2ba535441ad87b9382c8d686b5e07
parent726447d803802cd0be8f62d17c4a34421781b938
ext4: Use rcu_barrier() on module unload.

The ext4 module uses rcu_call() thus it should use rcu_barrier()on
module unload.

The kmem cache ext4_pspace_cachep is sometimes free'ed using
call_rcu() callbacks.  Thus, we must wait for completion of call_rcu()
before doing kmem_cache_destroy().

Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/mballoc.c