diff options
author | Carsten Otte <cotte@de.ibm.com> | 2005-06-24 05:05:23 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-24 07:06:41 (GMT) |
commit | 420edbcc09008342c7b2665453f6b370739aadb0 (patch) | |
tree | 9eae7b2d378d4e280dcc5c1b6b159e18e5e5dbe0 /include/linux | |
parent | 3d41088fa327782b14b5659dbcfff62ec704c23c (diff) | |
download | linux-fsl-qoriq-420edbcc09008342c7b2665453f6b370739aadb0.tar.xz |
[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')
-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 83857d8..929bf8d 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -885,6 +885,7 @@ struct block_device_operations { int (*ioctl) (struct inode *, struct file *, unsigned, unsigned long); long (*unlocked_ioctl) (struct file *, unsigned, unsigned long); long (*compat_ioctl) (struct file *, unsigned, unsigned long); + int (*direct_access) (struct block_device *, sector_t, unsigned long *); int (*media_changed) (struct gendisk *); int (*revalidate_disk) (struct gendisk *); struct module *owner; |