From cfdf06f560f34a59d2a21e7c7d4ad2a767ea2b92 Mon Sep 17 00:00:00 2001 From: nikita Date: Mon, 21 Aug 2006 19:38:10 +0000 Subject: [PATCH] osd: osd_recovery_complete(): drop unneeded definitions --- lustre/osd/osd_handler.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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); } /* -- 1.8.3.1