Commit 8bdd4c06 authored by Christoph Hellwig's avatar Christoph Hellwig

[PATCH] remove a wrong invalidate_bdev from ide-disk.c

This one probably crept in during an ide merge from 2.4..
parent e7599517
...@@ -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;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment