Index: iam/fs/ext3/Makefile
===================================================================
--- iam.orig/fs/ext3/Makefile 2006-05-31 20:24:32.000000000 +0400
-+++ iam/fs/ext3/Makefile 2006-08-21 22:18:22.000000000 +0400
++++ iam/fs/ext3/Makefile 2006-08-23 20:28:37.000000000 +0400
@@ -6,7 +6,7 @@ obj-$(CONFIG_EXT3_FS) += ext3.o
ext3-y := balloc.o bitmap.o dir.o file.o fsync.o ialloc.o inode.o iopen.o \
Index: iam/fs/ext3/iam_lvar.c
===================================================================
--- iam.orig/fs/ext3/iam_lvar.c 2004-04-06 17:27:52.000000000 +0400
-+++ iam/fs/ext3/iam_lvar.c 2006-08-21 20:07:20.000000000 +0400
++++ iam/fs/ext3/iam_lvar.c 2006-08-23 20:28:18.000000000 +0400
@@ -0,0 +1,864 @@
+/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
+ * vim:expandtab:shiftwidth=8:tabstop=8:
+
+ result = 0;
+ strncpy((void *)&result, name, min(namelen, (int)sizeof result));
-+ return result << 1;
++ return (result << 1) & 0x7fffffff;
+}
+
+static inline int e_eq(const struct lvar_leaf_entry *ent,
Index: iam/include/linux/lustre_iam.h
===================================================================
--- iam.orig/include/linux/lustre_iam.h 2006-05-31 20:24:32.000000000 +0400
-+++ iam/include/linux/lustre_iam.h 2006-08-21 22:18:22.000000000 +0400
++++ iam/include/linux/lustre_iam.h 2006-08-23 20:28:37.000000000 +0400
@@ -1,9 +1,68 @@
+/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
+ * vim:expandtab:shiftwidth=8:tabstop=8:
Index: iam/fs/ext3/Makefile
===================================================================
---- iam.orig/fs/ext3/Makefile 2006-08-21 22:18:22.000000000 +0400
-+++ iam/fs/ext3/Makefile 2006-08-21 22:18:23.000000000 +0400
+--- iam.orig/fs/ext3/Makefile 2006-08-23 20:28:37.000000000 +0400
++++ iam/fs/ext3/Makefile 2006-08-23 20:28:38.000000000 +0400
@@ -6,7 +6,7 @@ obj-$(CONFIG_EXT3_FS) += ext3.o
ext3-y := balloc.o bitmap.o dir.o file.o fsync.o ialloc.o inode.o iopen.o \
ext3-$(CONFIG_EXT3_FS_POSIX_ACL) += acl.o
Index: iam/fs/ext3/dir.c
===================================================================
---- iam.orig/fs/ext3/dir.c 2006-08-21 22:18:22.000000000 +0400
-+++ iam/fs/ext3/dir.c 2006-08-21 22:18:23.000000000 +0400
+--- iam.orig/fs/ext3/dir.c 2006-08-23 20:28:37.000000000 +0400
++++ iam/fs/ext3/dir.c 2006-08-23 20:28:38.000000000 +0400
@@ -28,6 +28,7 @@
#include <linux/smp_lock.h>
#include <linux/slab.h>
(filp->f_version != inode->i_version)) {
Index: iam/fs/ext3/file.c
===================================================================
---- iam.orig/fs/ext3/file.c 2006-08-21 22:18:22.000000000 +0400
-+++ iam/fs/ext3/file.c 2006-08-21 22:18:23.000000000 +0400
+--- iam.orig/fs/ext3/file.c 2006-08-23 20:28:37.000000000 +0400
++++ iam/fs/ext3/file.c 2006-08-23 20:28:38.000000000 +0400
@@ -23,6 +23,7 @@
#include <linux/jbd.h>
#include <linux/ext3_fs.h>
Index: iam/fs/ext3/iam-uapi.c
===================================================================
--- iam.orig/fs/ext3/iam-uapi.c 2004-04-06 17:27:52.000000000 +0400
-+++ iam/fs/ext3/iam-uapi.c 2006-08-21 22:18:23.000000000 +0400
++++ iam/fs/ext3/iam-uapi.c 2006-08-23 20:28:38.000000000 +0400
@@ -0,0 +1,361 @@
+/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
+ * vim:expandtab:shiftwidth=8:tabstop=8:
+}
Index: iam/fs/ext3/ioctl.c
===================================================================
---- iam.orig/fs/ext3/ioctl.c 2006-08-21 22:18:22.000000000 +0400
-+++ iam/fs/ext3/ioctl.c 2006-08-21 22:18:23.000000000 +0400
+--- iam.orig/fs/ext3/ioctl.c 2006-08-23 20:28:37.000000000 +0400
++++ iam/fs/ext3/ioctl.c 2006-08-23 20:28:38.000000000 +0400
@@ -250,6 +250,6 @@ flags_err:
}
Index: iam/include/linux/lustre_iam.h
===================================================================
---- iam.orig/include/linux/lustre_iam.h 2006-08-21 22:18:22.000000000 +0400
-+++ iam/include/linux/lustre_iam.h 2006-08-21 22:18:23.000000000 +0400
+--- iam.orig/include/linux/lustre_iam.h 2006-08-23 20:28:37.000000000 +0400
++++ iam/include/linux/lustre_iam.h 2006-08-23 20:28:38.000000000 +0400
@@ -30,9 +30,6 @@
#ifndef __LINUX_LUSTRE_IAM_H__
#define __LINUX_LUSTRE_IAM_H__