Whamcloud - gitweb
iam: return error from lvar_ilookup()
authornikita <nikita>
Tue, 5 Sep 2006 15:57:34 +0000 (15:57 +0000)
committernikita <nikita>
Tue, 5 Sep 2006 15:57:34 +0000 (15:57 +0000)
lustre/kernel_patches/patches/ext3-iam-separate.patch

index d2e770b..6b531d6 100644 (file)
@@ -1,7 +1,7 @@
 Index: iam/fs/ext3/Makefile
 ===================================================================
 --- iam.orig/fs/ext3/Makefile  2006-05-31 20:24:32.000000000 +0400
-+++ iam/fs/ext3/Makefile       2006-08-24 22:50:57.000000000 +0400
++++ iam/fs/ext3/Makefile       2006-09-05 19:45:19.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 \
@@ -2689,8 +2689,8 @@ Index: iam/fs/ext3/iam_lfix.c
 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-24 22:50:55.000000000 +0400
-@@ -0,0 +1,882 @@
++++ iam/fs/ext3/iam_lvar.c     2006-09-05 19:44:16.000000000 +0400
+@@ -0,0 +1,881 @@
 +/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
 + * vim:expandtab:shiftwidth=8:tabstop=8:
 + *
@@ -3070,8 +3070,7 @@ Index: iam/fs/ext3/iam_lvar.c
 +                                IAM_LOOKUP_EXACT : IAM_LOOKUP_OK;
 +                }
 +        }
-+        assert(0);
-+        return IAM_LOOKUP_OK;
++        return -E2BIG;
 +}
 +
 +static void lvar_key_set(struct iam_leaf *l, const struct iam_key *k)
@@ -5575,7 +5574,7 @@ Index: iam/fs/ext3/namei.c
 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-24 22:50:57.000000000 +0400
++++ iam/include/linux/lustre_iam.h     2006-09-05 19:45:19.000000000 +0400
 @@ -1,9 +1,68 @@
 +/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
 + * vim:expandtab:shiftwidth=8:tabstop=8: