git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e996fc8
)
ide-tape: add ide_tape_set_media_lock() helper
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Fri, 10 Oct 2008 20:39:37 +0000
(22:39 +0200)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Fri, 10 Oct 2008 20:39:37 +0000
(22:39 +0200)
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 <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-tape.c
patch
|
blob
|
history
diff --cc
drivers/ide/ide-tape.c
Simple merge