Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
8bdd4c06
Commit
8bdd4c06
authored
Apr 23, 2003
by
Christoph Hellwig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] remove a wrong invalidate_bdev from ide-disk.c
This one probably crept in during an ide merge from 2.4..
parent
e7599517
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
drivers/ide/ide-disk.c
drivers/ide/ide-disk.c
+0
-2
No files found.
drivers/ide/ide-disk.c
View file @
8bdd4c06
...
@@ -58,7 +58,6 @@
...
@@ -58,7 +58,6 @@
#include <linux/genhd.h>
#include <linux/genhd.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/delay.h>
#include <linux/buffer_head.h>
#define _IDE_DISK
#define _IDE_DISK
...
@@ -1743,7 +1742,6 @@ static int idedisk_release(struct inode *inode, struct file *filp)
...
@@ -1743,7 +1742,6 @@ static int idedisk_release(struct inode *inode, struct file *filp)
memset
(
&
args
,
0
,
sizeof
(
ide_task_t
));
memset
(
&
args
,
0
,
sizeof
(
ide_task_t
));
args
.
tfRegister
[
IDE_COMMAND_OFFSET
]
=
WIN_DOORUNLOCK
;
args
.
tfRegister
[
IDE_COMMAND_OFFSET
]
=
WIN_DOORUNLOCK
;
args
.
command_type
=
ide_cmd_type_parser
(
&
args
);
args
.
command_type
=
ide_cmd_type_parser
(
&
args
);
invalidate_bdev
(
inode
->
i_bdev
,
0
);
if
(
drive
->
doorlocking
&&
ide_raw_taskfile
(
drive
,
&
args
,
NULL
))
if
(
drive
->
doorlocking
&&
ide_raw_taskfile
(
drive
,
&
args
,
NULL
))
drive
->
doorlocking
=
0
;
drive
->
doorlocking
=
0
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment