stable/trunk/novell4gentoo/net-fs/novell-novfs/files/novfs-2.0.0.444-2.6.28-1.patch

23 lines
681 B
Diff
Raw Normal View History

2009-01-27 21:02:15 +01:00
Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
Date: 2009-01-27
Initial Package Version: 2.0.0.444
Origin: me
Upstream Status: unknown
Description: make it work with >= 2.6.28
diff -Naur novfs-2.0.0.444.orig/inode.c novfs-2.0.0.444/inode.c
--- novfs-2.0.0.444.orig/inode.c 2009-01-27 19:55:37.012343752 +0000
+++ novfs-2.0.0.444/inode.c 2009-01-27 19:57:23.171092328 +0000
@@ -1887,7 +1887,11 @@
SetPageUptodate(page);
unlock_page(page);
if (!pagevec_add(plru_pvec, page))
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28)
+ ____pagevec_lru_add(plru_pvec);
+ #else
__pagevec_lru_add(plru_pvec);
+ #endif
data += PAGE_CACHE_SIZE;
}
return;