Changes by: antona
Update of /cvsroot/linux-ntfs/ntfs-driver-tng/linux/fs/ntfs
In directory usw-pr-cvs1:/tmp/cvs-serv22181/linux/fs/ntfs
Modified Files:
super.c
Log Message:
Update to 2.5.6-pre2
Index: super.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfs-driver-tng/linux/fs/ntfs/super.c,v
retrieving revision 1.80
retrieving revision 1.81
diff -U2 -r1.80 -r1.81
--- super.c 5 Mar 2002 00:22:24 -0000 1.80
+++ super.c 5 Mar 2002 00:25:07 -0000 1.81
@@ -1500,6 +1500,12 @@
vol->mftbmp_mapping.a_ops = NULL;
vol->mftbmp_mapping.host = NULL;
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,6)
+ vol->mftbmp_mapping.i_mmap = NULL;
+ vol->mftbmp_mapping.i_mmap_shared = NULL;
+#else
INIT_LIST_HEAD(&vol->mftbmp_mapping.i_mmap);
INIT_LIST_HEAD(&vol->mftbmp_mapping.i_mmap_shared);
+#endif
spin_lock_init(&vol->mftbmp_mapping.i_shared_lock);
INIT_RUN_LIST(&vol->mftbmp_rl);
|