diff --git a/lustre/mdt/mdt_handler.c b/lustre/mdt/mdt_handler.c index 8bc9c123570fe025bcf3af0e73d885c7b3edcd60..67918fe79c9562695f0ed49b2c1e0cebd81ddc2b 100644 --- a/lustre/mdt/mdt_handler.c +++ b/lustre/mdt/mdt_handler.c @@ -4584,7 +4584,7 @@ static int mdt_obd_notify(struct obd_device *host, switch (ev) { case OBD_NOTIFY_CONFIG: - mdt_allow_cli(mdt_dev(host->obd_lu_dev), (unsigned int)data); + mdt_allow_cli(mdt_dev(host->obd_lu_dev), (unsigned long)data); break; default: CDEBUG(D_INFO, "Unhandled notification %#x\n", ev);