From b9af6ba83b3317497b31f7a722590d3c7d1671ff Mon Sep 17 00:00:00 2001
From: bwzhou <bwzhou>
Date: Sun, 15 Jun 2008 14:34:41 +0000
Subject: [PATCH] Branch b1_6 b=13285 r=adilger, deen

not to fail the import when -EFBIG is returned
---
 lustre/osc/osc_create.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lustre/osc/osc_create.c b/lustre/osc/osc_create.c
index 7273722966..b82bf62085 100644
--- a/lustre/osc/osc_create.c
+++ b/lustre/osc/osc_create.c
@@ -87,7 +87,8 @@ static int osc_interpret_create(struct ptlrpc_request *req, void *data, int rc)
                 DEBUG_REQ(D_INODE, req, "Got EGAIN - resend \n");
                 break;
         case -ENOSPC:
-        case -EROFS: {
+        case -EROFS: 
+        case -EFBIG: {
                 oscc->oscc_flags |= OSCC_FLAG_NOSPC;
                 if (body && rc == -ENOSPC) {
                         oscc->oscc_grow_count = OST_MIN_PRECREATE;
-- 
GitLab