]> git.karo-electronics.de Git - linux-beck.git/commit
ide: IDE settings don't need an ide_lock held
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 29 Dec 2008 19:27:29 +0000 (20:27 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 29 Dec 2008 19:27:29 +0000 (20:27 +0100)
commit1f473e9c92ea458e60494561a2065a358b7239bb
treedc80484535ac987d49179c45f30f1fabadc8855a
parent3e0e29f7373ec96a1bd972790649524af7353f42
ide: IDE settings don't need an ide_lock held

IDE settings are protected by ide_setting_mtx mutex so there is
no need to hold ide_lock in ide_setting_ioctl(), ide_read_setting()
and ide_proc_unregister_driver().

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-ioctls.c
drivers/ide/ide-proc.c