From e1cc2ed0ba1567641b6a42ed79d6946aa1a2f267 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 18 Oct 2009 04:58:59 +0000 Subject: [PATCH] - fix warnings --- lustre/ofd/ofd_grant.c | 1 - lustre/ofd/ofd_internal.h | 2 +- lustre/ofd/ofd_io.c | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lustre/ofd/ofd_grant.c b/lustre/ofd/ofd_grant.c index 516a120..2440c6f 100644 --- a/lustre/ofd/ofd_grant.c +++ b/lustre/ofd/ofd_grant.c @@ -541,7 +541,6 @@ void filter_grant_commit(struct obd_export *exp, int niocount, struct niobuf_local *res) { struct filter_device *ofd = filter_exp(exp); - struct filter_export_data *fed = &exp->exp_filter_data; struct niobuf_local *lnb = res; unsigned long pending = 0; int i; diff --git a/lustre/ofd/ofd_internal.h b/lustre/ofd/ofd_internal.h index 10aee05..3933b50 100644 --- a/lustre/ofd/ofd_internal.h +++ b/lustre/ofd/ofd_internal.h @@ -277,7 +277,7 @@ struct filter_thread_info { /* server and client data buffers */ struct lr_server_data fti_fsd; - struct filter_client_data fti_fcd; + struct lsd_client_data fti_fcd; /* Ops object filename */ struct lu_name fti_name; diff --git a/lustre/ofd/ofd_io.c b/lustre/ofd/ofd_io.c index b1b5cd5..702b94b 100644 --- a/lustre/ofd/ofd_io.c +++ b/lustre/ofd/ofd_io.c @@ -200,7 +200,6 @@ int filter_preprw(int cmd, struct obd_export *exp, struct obdo *oa, int objcount capa, CAPA_OPC_OSS_READ); if (rc == 0) { if (oa && oa->o_valid & OBD_MD_FLGRANT) { - struct obd_device *obd = filter_obd(ofd); mutex_down(&ofd->ofd_grant_sem); filter_grant_incoming(&env, exp, oa); if (!(oa->o_flags & OBD_FL_SHRINK_GRANT)) -- 1.8.3.1