diff options
| author | Christoph Hellwig <hch@infradead.org> | 2002-05-22 22:52:24 -0700 |
|---|---|---|
| committer | Christoph Hellwig <hch@infradead.org> | 2002-05-22 22:52:24 -0700 |
| commit | c018e6fe27f0cd4abb45ef308ede21674e1fbae8 (patch) | |
| tree | 789fb8a056784bd36f71dd4c54d9fc73c81d427f /drivers/ide/ide-disk.c | |
| parent | 5c247121d98157a261142fdf0adb7912eb61d614 (diff) | |
[PATCH] include buffer_head.h in actual users instead of fs.h (5/10)
Include buffer_head.h directly in the file in drivers/ that need it
(9 files). Note that most of this uses are layering violations that I
will address later.
Diffstat (limited to 'drivers/ide/ide-disk.c')
| -rw-r--r-- | drivers/ide/ide-disk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ide/ide-disk.c b/drivers/ide/ide-disk.c index 6fdcb7a36365..8c773b64d4fe 100644 --- a/drivers/ide/ide-disk.c +++ b/drivers/ide/ide-disk.c @@ -28,6 +28,7 @@ #include <linux/delay.h> #include <linux/ide.h> #include <linux/suspend.h> +#include <linux/buffer_head.h> /* for invalidate_bdev() */ #include <asm/byteorder.h> #include <asm/irq.h> @@ -392,6 +393,7 @@ static void idedisk_release(struct inode *inode, struct file *filp, struct ata_d if (drive->removable && !drive->usage) { struct ata_taskfile args; + /* XXX I don't think this is up to the lowlevel drivers.. --hch */ invalidate_bdev(inode->i_bdev, 0); memset(&args, 0, sizeof(args)); |
