From: nathan Date: Tue, 7 Aug 2007 15:42:01 +0000 (+0000) Subject: b=11778 X-Git-Tag: v1_8_0_110~1379 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=a8bb5142699cac410c793697132d210be51b0613;p=fs%2Flustre-release.git b=11778 i=green fix warning --- diff --git a/lustre/mds/mds_lov.c b/lustre/mds/mds_lov.c index c16a977..e2cb1c8 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); }