summaryrefslogtreecommitdiff
path: root/package/fuse/patches/210-posix_test_lock.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/fuse/patches/210-posix_test_lock.patch')
-rw-r--r--package/fuse/patches/210-posix_test_lock.patch10
1 files changed, 6 insertions, 4 deletions
diff --git a/package/fuse/patches/210-posix_test_lock.patch b/package/fuse/patches/210-posix_test_lock.patch
index d2e2f78..d2c746a 100644
--- a/package/fuse/patches/210-posix_test_lock.patch
+++ b/package/fuse/patches/210-posix_test_lock.patch
@@ -1,6 +1,8 @@
---- fuse.old/kernel/file.c 2007-01-28 21:25:02.000000000 +0000
-+++ fuse.dev/kernel/file.c 2007-05-29 00:10:29.000000000 +0100
-@@ -781,6 +785,10 @@
+Index: fuse-2.6.5/kernel/file.c
+===================================================================
+--- fuse-2.6.5.orig/kernel/file.c 2007-06-23 13:03:50.000000000 +0200
++++ fuse-2.6.5/kernel/file.c 2007-06-23 13:03:51.000000000 +0200
+@@ -781,6 +781,10 @@
if (cmd == F_GETLK) {
if (fc->no_lock) {
@@ -11,7 +13,7 @@
#ifdef KERNEL_2_6_17_PLUS
if (!posix_test_lock(file, fl, fl))
fl->fl_type = F_UNLCK;
-@@ -791,6 +799,7 @@
+@@ -791,6 +795,7 @@
else
*fl = *cfl;
#endif