diff options
Diffstat (limited to 'include/linux/fs.h')
| -rw-r--r-- | include/linux/fs.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index d6d7c52055c6..a1ba005d08e7 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
| @@ -474,8 +474,8 @@ struct address_space_operations { | |||
| 474 | int (*releasepage) (struct page *, gfp_t); | 474 | int (*releasepage) (struct page *, gfp_t); |
| 475 | ssize_t (*direct_IO)(int, struct kiocb *, const struct iovec *iov, | 475 | ssize_t (*direct_IO)(int, struct kiocb *, const struct iovec *iov, |
| 476 | loff_t offset, unsigned long nr_segs); | 476 | loff_t offset, unsigned long nr_segs); |
| 477 | struct page* (*get_xip_page)(struct address_space *, sector_t, | 477 | int (*get_xip_mem)(struct address_space *, pgoff_t, int, |
| 478 | int); | 478 | void **, unsigned long *); |
| 479 | /* migrate the contents of a page to the specified target */ | 479 | /* migrate the contents of a page to the specified target */ |
| 480 | int (*migratepage) (struct address_space *, | 480 | int (*migratepage) (struct address_space *, |
| 481 | struct page *, struct page *); | 481 | struct page *, struct page *); |
| @@ -1178,7 +1178,8 @@ struct block_device_operations { | |||
| 1178 | int (*ioctl) (struct inode *, struct file *, unsigned, unsigned long); | 1178 | int (*ioctl) (struct inode *, struct file *, unsigned, unsigned long); |
| 1179 | long (*unlocked_ioctl) (struct file *, unsigned, unsigned long); | 1179 | long (*unlocked_ioctl) (struct file *, unsigned, unsigned long); |
| 1180 | long (*compat_ioctl) (struct file *, unsigned, unsigned long); | 1180 | long (*compat_ioctl) (struct file *, unsigned, unsigned long); |
| 1181 | int (*direct_access) (struct block_device *, sector_t, unsigned long *); | 1181 | int (*direct_access) (struct block_device *, sector_t, |
| 1182 | void **, unsigned long *); | ||
| 1182 | int (*media_changed) (struct gendisk *); | 1183 | int (*media_changed) (struct gendisk *); |
| 1183 | int (*revalidate_disk) (struct gendisk *); | 1184 | int (*revalidate_disk) (struct gendisk *); |
| 1184 | int (*getgeo)(struct block_device *, struct hd_geometry *); | 1185 | int (*getgeo)(struct block_device *, struct hd_geometry *); |
| @@ -1520,7 +1521,6 @@ extern int get_sb_pseudo(struct file_system_type *, char *, | |||
| 1520 | const struct super_operations *ops, unsigned long, | 1521 | const struct super_operations *ops, unsigned long, |
| 1521 | struct vfsmount *mnt); | 1522 | struct vfsmount *mnt); |
| 1522 | extern int simple_set_mnt(struct vfsmount *mnt, struct super_block *sb); | 1523 | extern int simple_set_mnt(struct vfsmount *mnt, struct super_block *sb); |
| 1523 | int __put_super(struct super_block *sb); | ||
| 1524 | int __put_super_and_need_restart(struct super_block *sb); | 1524 | int __put_super_and_need_restart(struct super_block *sb); |
| 1525 | void unnamed_dev_init(void); | 1525 | void unnamed_dev_init(void); |
| 1526 | 1526 | ||
| @@ -1964,7 +1964,6 @@ extern int vfs_stat_fd(int dfd, char __user *, struct kstat *); | |||
| 1964 | extern int vfs_lstat_fd(int dfd, char __user *, struct kstat *); | 1964 | extern int vfs_lstat_fd(int dfd, char __user *, struct kstat *); |
| 1965 | extern int vfs_fstat(unsigned int, struct kstat *); | 1965 | extern int vfs_fstat(unsigned int, struct kstat *); |
| 1966 | 1966 | ||
| 1967 | extern long vfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg); | ||
| 1968 | extern int do_vfs_ioctl(struct file *filp, unsigned int fd, unsigned int cmd, | 1967 | extern int do_vfs_ioctl(struct file *filp, unsigned int fd, unsigned int cmd, |
| 1969 | unsigned long arg); | 1968 | unsigned long arg); |
| 1970 | 1969 | ||
