summaryrefslogtreecommitdiff
path: root/ipc/shm.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2005-10-20 08:56:41 (GMT)
committerJens Axboe <axboe@nelson.home.kernel.dk>2005-10-28 06:15:58 (GMT)
commit2824bc9328467127083c1325f54b67d298c333b2 (patch)
tree0d19aeb555c35ddbdbcf195b976964523fecc404 /ipc/shm.c
parentb2982649ce38293b14684b26bcda20cfc54164e6 (diff)
downloadlinux-2824bc9328467127083c1325f54b67d298c333b2.tar.xz
[PATCH] fix try_module_get race in elevator_find
This patch removes try_module_get race in elevator_find. try_module_get should always be called with the spinlock protecting what the module init/cleanup routines register/unregister to held. In the case of elevators, we should be holding elv_list to avoid it going away between spin_unlock_irq and try_module_get. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions