Hi,
This fixes broken adfs/affs/hfs/hpfs/qnx4 by cont_prepare_write()
change.
Please apply.
-- OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>diff -urN fat_big-file-2.5.24/include/linux/adfs_fs_i.h mmu_private-fix-2.5.24/include/linux/adfs_fs_i.h --- fat_big-file-2.5.24/include/linux/adfs_fs_i.h Sun Jun 23 15:32:04 2002 +++ mmu_private-fix-2.5.24/include/linux/adfs_fs_i.h Sun Jun 23 15:38:29 2002 @@ -11,7 +11,7 @@ * adfs file system inode data in memory */ struct adfs_inode_info { - unsigned long mmu_private; + loff_t mmu_private; unsigned long parent_id; /* object id of parent */ __u32 loadaddr; /* RISC OS load address */ __u32 execaddr; /* RISC OS exec address */ diff -urN fat_big-file-2.5.24/include/linux/affs_fs_i.h mmu_private-fix-2.5.24/include/linux/affs_fs_i.h --- fat_big-file-2.5.24/include/linux/affs_fs_i.h Sun Jun 23 15:32:04 2002 +++ mmu_private-fix-2.5.24/include/linux/affs_fs_i.h Sun Jun 23 15:38:29 2002 @@ -35,7 +35,7 @@ struct affs_ext_key *i_ac; /* associative cache of extended blocks */ u32 i_ext_last; /* last accessed extended block */ struct buffer_head *i_ext_bh; /* bh of last extended block */ - unsigned long mmu_private; + loff_t mmu_private; u32 i_protect; /* unused attribute bits */ u32 i_lastalloc; /* last allocated block */ int i_pa_cnt; /* number of preallocated blocks */ diff -urN fat_big-file-2.5.24/include/linux/hfs_fs_i.h mmu_private-fix-2.5.24/include/linux/hfs_fs_i.h --- fat_big-file-2.5.24/include/linux/hfs_fs_i.h Sun Jun 23 15:32:05 2002 +++ mmu_private-fix-2.5.24/include/linux/hfs_fs_i.h Sun Jun 23 15:38:30 2002 @@ -19,7 +19,7 @@ struct hfs_inode_info { int magic; /* A magic number */ - unsigned long mmu_private; + loff_t mmu_private; struct hfs_cat_entry *entry; /* For a regular or header file */ diff -urN fat_big-file-2.5.24/include/linux/hpfs_fs_i.h mmu_private-fix-2.5.24/include/linux/hpfs_fs_i.h --- fat_big-file-2.5.24/include/linux/hpfs_fs_i.h Sun Jun 23 15:32:05 2002 +++ mmu_private-fix-2.5.24/include/linux/hpfs_fs_i.h Sun Jun 23 15:38:30 2002 @@ -2,7 +2,7 @@ #define _HPFS_FS_I struct hpfs_inode_info { - unsigned long mmu_private; + loff_t mmu_private; ino_t i_parent_dir; /* (directories) gives fnode of parent dir */ unsigned i_dno; /* (directories) root dnode */ unsigned i_dpos; /* (directories) temp for readdir */ diff -urN fat_big-file-2.5.24/include/linux/qnx4_fs.h mmu_private-fix-2.5.24/include/linux/qnx4_fs.h --- fat_big-file-2.5.24/include/linux/qnx4_fs.h Sun Jun 23 15:32:06 2002 +++ mmu_private-fix-2.5.24/include/linux/qnx4_fs.h Sun Jun 23 15:38:31 2002 @@ -106,7 +106,7 @@ struct qnx4_inode_info { struct qnx4_inode_entry raw; - unsigned long mmu_private; + loff_t mmu_private; struct inode vfs_inode; }; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Jun 30 2002 - 22:00:14 EST