4 Jun 2010 15:27
PATCH: Arla 0.90 on Linux 2.6.24-2.6.32
Bo Brantén <bosse <at> acc.umu.se>
2010-06-04 13:27:49 GMT
2010-06-04 13:27:49 GMT
Hello, I have updated my patch for the latest kernels of Linux. Bo Brantén
diff -uprN arla-0.90/nnpfs/linux/nnpfs_blocks.c arla-0.90-new/nnpfs/linux/nnpfs_blocks.c
--- arla-0.90/nnpfs/linux/nnpfs_blocks.c 2007-01-08 14:24:24.000000000 +0100
+++ arla-0.90-new/nnpfs/linux/nnpfs_blocks.c 2010-06-03 23:31:06.392612006 +0200
<at> <at> -34,7 +34,7 <at> <at>
* POSSIBILITY OF SUCH DAMAGE.
*/
-/* $Id: nnpfs_blocks.c,v 1.3 2007/01/08 13:24:24 tol Exp $ */
+/* $Id: nnpfs_blocks.c,v 1.4 2008/03/08 21:38:16 tol Exp $ */
#include <nnpfs/nnpfs_locl.h>
#include <nnpfs/nnpfs_fs.h>
<at> <at> -302,6 +302,24 <at> <at> nnpfs_block_extend(struct nnpfs_node *no
return ret;
}
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 23)
+/*
+ * Helper to emulate vfs_path_lookup() on linux < 2.6.23
+ */
+static int
+vfs_path_lookup(struct dentry *dentry, struct vfsmount *mnt,
+ const char *cachename, unsigned int flags,
(Continue reading)
RSS Feed