Use the flash0_size from the adm5120_board structure to correctly remap the flash...
[openwrt/svn-archive/archive.git] / package / fuse / patches / 210-posix_test_lock.patch
1 --- fuse.old/kernel/file.c 2007-01-28 21:25:02.000000000 +0000
2 +++ fuse.dev/kernel/file.c 2007-05-29 00:10:29.000000000 +0100
3 @@ -782,7 +782,7 @@
4 if (cmd == F_GETLK) {
5 if (fc->no_lock) {
6 #ifdef KERNEL_2_6_17_PLUS
7 - if (!posix_test_lock(file, fl, fl))
8 + if (!posix_test_lock(file, fl))
9 fl->fl_type = F_UNLCK;
10 #else
11 struct file_lock *cfl = posix_test_lock(file, fl);