]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - include/linux/ramfs.h
Revert "block: improve queue_should_plug() by looking at IO depths"
[linux-2.6.git] / include / linux / ramfs.h
index b160fb18e8d6ce6f724827fe19fd31dfe748ddb8..4e768dda87b0ba09290a46dc0bda9cbdd4d4bd10 100644 (file)
@@ -6,6 +6,7 @@ extern int ramfs_get_sb(struct file_system_type *fs_type,
         int flags, const char *dev_name, void *data, struct vfsmount *mnt);
 
 #ifndef CONFIG_MMU
+extern int ramfs_nommu_expand_for_mapping(struct inode *inode, size_t newsize);
 extern unsigned long ramfs_nommu_get_unmapped_area(struct file *file,
                                                   unsigned long addr,
                                                   unsigned long len,
@@ -16,7 +17,7 @@ extern int ramfs_nommu_mmap(struct file *file, struct vm_area_struct *vma);
 #endif
 
 extern const struct file_operations ramfs_file_operations;
-extern struct vm_operations_struct generic_file_vm_ops;
+extern const struct vm_operations_struct generic_file_vm_ops;
 extern int __init init_rootfs(void);
 
 #endif