From a8bb5142699cac410c793697132d210be51b0613 Mon Sep 17 00:00:00 2001 From: nathan <nathan> Date: Tue, 7 Aug 2007 15:42:01 +0000 Subject: [PATCH] b=11778 i=green fix warning --- lustre/mds/mds_lov.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/mds/mds_lov.c b/lustre/mds/mds_lov.c index c16a9775f6..e2cb1c8048 100644 --- a/lustre/mds/mds_lov.c +++ b/lustre/mds/mds_lov.c @@ -642,7 +642,7 @@ int mds_iocontrol(unsigned int cmd, struct obd_export *exp, int len, } /* Collect the preconditions we need to allow client connects */ -static void mds_allow_cli(struct obd_device *obd, unsigned int flag) +static void mds_allow_cli(struct obd_device *obd, unsigned long flag) { if (flag & CONFIG_LOG) obd->u.mds.mds_fl_cfglog = 1; @@ -827,7 +827,7 @@ int mds_notify(struct obd_device *obd, struct obd_device *watched, case OBD_NOTIFY_SYNC_NONBLOCK: break; case OBD_NOTIFY_CONFIG: - mds_allow_cli(obd, (unsigned int)data); + mds_allow_cli(obd, (unsigned long)data); default: RETURN(0); } -- GitLab