From: wangdi Date: Mon, 31 Jul 2006 00:02:39 +0000 (+0000) Subject: Branch:b_new_cmd X-Git-Tag: v1_8_0_110~486^2~1316 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=9f9f5b586465f401aa070440140b5cb1fc520a1e;p=fs%2Flustre-release.git Branch:b_new_cmd remove lov_objids and last_rcvd create in osd_mount, since they could be created in mkfs --- diff --git a/lustre/osd/osd_handler.c b/lustre/osd/osd_handler.c index b733ff7..d5ae122 100644 --- a/lustre/osd/osd_handler.c +++ b/lustre/osd/osd_handler.c @@ -1623,22 +1623,6 @@ static int osd_mount(const struct lu_context *ctx, d = simple_mkdir(osd_sb(o)->s_root, "*OBJ-TEMP*", 0777, 1); if (!IS_ERR(d)) { o->od_obj_area = d; - /* - * XXX temporary resolution: OBJ_IDS and last_rcvd should - * also be done in mkfs - */ - d = simple_mknod(osd_sb(o)->s_root, - LOV_OBJID, 0777, 1); - if (!IS_ERR(d)) - dput(d); - else - result = PTR_ERR(d); - d = simple_mknod(osd_sb(o)->s_root, - LAST_RCVD, 0777, 1); - if (!IS_ERR(d)) - dput(d); - else - result = PTR_ERR(d); } else result = PTR_ERR(d); }