From 9f9f5b586465f401aa070440140b5cb1fc520a1e Mon Sep 17 00:00:00 2001 From: wangdi Date: Mon, 31 Jul 2006 00:02:39 +0000 Subject: [PATCH] Branch:b_new_cmd remove lov_objids and last_rcvd create in osd_mount, since they could be created in mkfs --- lustre/osd/osd_handler.c | 16 ---------------- 1 file changed, 16 deletions(-) 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); } -- 1.8.3.1