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-05-30 23:08:12.000000000 +0400
-@@ -0,0 +1,164 @@
++++ iam/fs/ext3/iam-uapi.c 2006-05-31 13:27:27.000000000 +0400
+@@ -0,0 +1,163 @@
+/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
+ * vim:expandtab:shiftwidth=8:tabstop=8:
+ *
+ struct iam_container ipi_bag;
+ struct iam_descr ipi_descr;
+ struct iam_path_descr *ipi_ipd;
-+ struct rw_semaphore ipi_sem;
+};
+
+struct iam_private_info *get_ipi(struct file *filp)
+{
+ struct iam_private_info *info;
+
-+ info = kzalloc(sizeof *info, flags);
++ info = kmalloc(sizeof *info, flags);
+ if (info != NULL)
-+ init_rwsem(&info->ipi_sem);
++ memset(info, 0, sizeof *info);
+ return info;
+}
+