diff options
| author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2015-02-10 17:09:54 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-10 17:30:30 -0500 |
| commit | d83a08db5ba6072caa658745881f4baa9bad6a08 (patch) | |
| tree | 11cc7fa3b789f1b3a01b70a66661e9b2ad8ceb15 /include/linux/fs.h | |
| parent | 9b4bdd2ffab9557ac43af7dff02e7dab1c8c58bd (diff) | |
mm: drop vm_ops->remap_pages and generic_file_remap_pages() stub
Nobody uses it anymore.
[akpm@linux-foundation.org: fix filemap_xip.c]
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/fs.h')
| -rw-r--r-- | include/linux/fs.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 60c4996df7f3..47f557c7ef7e 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
| @@ -2481,12 +2481,6 @@ extern int sb_min_blocksize(struct super_block *, int); | |||
| 2481 | 2481 | ||
| 2482 | extern int generic_file_mmap(struct file *, struct vm_area_struct *); | 2482 | extern int generic_file_mmap(struct file *, struct vm_area_struct *); |
| 2483 | extern int generic_file_readonly_mmap(struct file *, struct vm_area_struct *); | 2483 | extern int generic_file_readonly_mmap(struct file *, struct vm_area_struct *); |
| 2484 | static inline int generic_file_remap_pages(struct vm_area_struct *vma, | ||
| 2485 | unsigned long addr, unsigned long size, pgoff_t pgoff) | ||
| 2486 | { | ||
| 2487 | BUG(); | ||
| 2488 | return 0; | ||
| 2489 | } | ||
| 2490 | int generic_write_checks(struct file *file, loff_t *pos, size_t *count, int isblk); | 2484 | int generic_write_checks(struct file *file, loff_t *pos, size_t *count, int isblk); |
| 2491 | extern ssize_t generic_file_read_iter(struct kiocb *, struct iov_iter *); | 2485 | extern ssize_t generic_file_read_iter(struct kiocb *, struct iov_iter *); |
| 2492 | extern ssize_t __generic_file_write_iter(struct kiocb *, struct iov_iter *); | 2486 | extern ssize_t __generic_file_write_iter(struct kiocb *, struct iov_iter *); |
