Rev 36 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
diff -ur unionfs-1.1.5.ori/dirfops.c unionfs-1.1.5/dirfops.c
--- unionfs-1.1.5.ori/dirfops.c 2006-06-12 04:03:36.000000000 +0200
+++ unionfs-1.1.5/dirfops.c 2006-08-30 08:38:52.000000000 +0200
@@ -308,6 +308,8 @@
.readdir = unionfs_readdir,
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,11)
.unlocked_ioctl = unionfs_ioctl,
+#else
+ .ioctl = unionfs_ioctl,
#endif
.open = unionfs_open,
.release = unionfs_file_release,
diff -ur unionfs-1.1.5.ori/file.c unionfs-1.1.5/file.c
--- unionfs-1.1.5.ori/file.c 2006-06-12 04:03:36.000000000 +0200
+++ unionfs-1.1.5/file.c 2006-08-30 08:40:47.000000000 +0200
@@ -302,6 +302,8 @@
.poll = unionfs_poll,
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,11)
.unlocked_ioctl = unionfs_ioctl,
+#else
+ .ioctl = unionfs_ioctl,
#endif
.mmap = unionfs_mmap,
.open = unionfs_open,