From: alex Date: Tue, 28 Jun 2005 21:10:11 +0000 (+0000) Subject: b=6975 X-Git-Tag: v1_7_100~1146 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=5dfd26eb50c5815861c4efc08f47696d41c1bd83 b=6975 - concurrent creations are valid since CROW merging --- diff --git a/lustre/obdfilter/filter.c b/lustre/obdfilter/filter.c index 517285f..c6ce804 100644 --- a/lustre/obdfilter/filter.c +++ b/lustre/obdfilter/filter.c @@ -2341,13 +2341,8 @@ int filter_create_object(struct obd_device *obd, struct obdo *oa, GOTO(cleanup, rc = PTR_ERR(dchild)); cleanup_phase = 2; - if (dchild->d_inode != NULL) { - CERROR("%s: serious error: objid %.*s already " - "exists; is this filesystem corrupted?\n", - obd->obd_name, dchild->d_name.len, - dchild->d_name.name); - GOTO(cleanup, rc = -EEXIST); - } + if (dchild->d_inode != NULL) + GOTO(cleanup, rc = 0); handle = fsfilt_start_log(obd, dparent->d_inode, FSFILT_OP_CREATE, NULL, 1);