From: nikita Date: Mon, 21 Aug 2006 19:38:10 +0000 (+0000) Subject: osd: osd_recovery_complete(): drop unneeded definitions X-Git-Tag: v1_8_0_110~486^2~1123 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=cfdf06f560f34a59d2a21e7c7d4ad2a767ea2b92;p=fs%2Flustre-release.git osd: osd_recovery_complete(): drop unneeded definitions --- diff --git a/lustre/osd/osd_handler.c b/lustre/osd/osd_handler.c index 89a391f..c6e6c1b 100644 --- a/lustre/osd/osd_handler.c +++ b/lustre/osd/osd_handler.c @@ -629,7 +629,7 @@ static int osd_inode_setattr(const struct lu_context *ctx, { __u64 bits; int rc = 0; - + bits = attr->la_valid; LASSERT(!(bits & LA_TYPE)); /* Huh? You want too much. */ @@ -1822,11 +1822,9 @@ static int osd_process_config(const struct lu_context *ctx, static int osd_recovery_complete(const struct lu_context *ctxt, struct lu_device *d) { - struct osd_device *o = osd_dev(d); - int rc = 0; ENTRY; /* TODO: orphans handling */ - RETURN(rc); + RETURN(0); } /*