1 Index: fuse-2.6.5/kernel/file.c
2 ===================================================================
3 --- fuse-2.6.5.orig/kernel/file.c 2007-06-23 13:03:50.000000000 +0200
4 +++ fuse-2.6.5/kernel/file.c 2007-06-23 13:03:51.000000000 +0200
9 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22)
10 + if (!posix_test_lock(file, fl))
11 + fl->fl_type = F_UNLCK;
13 #ifdef KERNEL_2_6_17_PLUS
14 if (!posix_test_lock(file, fl, fl))
15 fl->fl_type = F_UNLCK;
23 err = fuse_getlk(file, fl);