diff options
author | Carsten Otte <cotte@de.ibm.com> | 2005-06-24 01:05:23 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-24 03:06:41 -0400 |
commit | 420edbcc09008342c7b2665453f6b370739aadb0 (patch) | |
tree | 9eae7b2d378d4e280dcc5c1b6b159e18e5e5dbe0 /include/linux/fs.h | |
parent | 3d41088fa327782b14b5659dbcfff62ec704c23c (diff) |
[PATCH] xip: bdev: execute in place
This is the block device related part. The block device operation
direct_access now has a struct block_device as first parameter.
Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 83857d8070d3..929bf8d20c87 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -885,6 +885,7 @@ struct block_device_operations { | |||
885 | int (*ioctl) (struct inode *, struct file *, unsigned, unsigned long); | 885 | int (*ioctl) (struct inode *, struct file *, unsigned, unsigned long); |
886 | long (*unlocked_ioctl) (struct file *, unsigned, unsigned long); | 886 | long (*unlocked_ioctl) (struct file *, unsigned, unsigned long); |
887 | long (*compat_ioctl) (struct file *, unsigned, unsigned long); | 887 | long (*compat_ioctl) (struct file *, unsigned, unsigned long); |
888 | int (*direct_access) (struct block_device *, sector_t, unsigned long *); | ||
888 | int (*media_changed) (struct gendisk *); | 889 | int (*media_changed) (struct gendisk *); |
889 | int (*revalidate_disk) (struct gendisk *); | 890 | int (*revalidate_disk) (struct gendisk *); |
890 | struct module *owner; | 891 | struct module *owner; |