From: Bartlomiej Zolnierkiewicz Date: Fri, 10 Oct 2008 20:39:37 +0000 (+0200) Subject: ide-tape: add ide_tape_set_media_lock() helper X-Git-Tag: v2.6.28-rc1~710^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=385a4b8787c70b708688bee65139f15b0f79f144;p=pandora-kernel.git ide-tape: add ide_tape_set_media_lock() helper Add ide_tape_set_media_lock() helper and convert idetape_mtioctop(), idetape_chrdev_open() and idetape_chrdev_release() to use it. There should be no functional changes caused by this patch (it is OK to modify ->door_locked if idetape_create_prevent_cmd() fails). Acked-by: Borislav Petkov Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed