X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fmdt%2Fmdt_handler.c;h=9ffd9c7a0b5f7427e0d24018965a338b04829480;hp=3035202075c8245baacc1bd1d737b9c98527c1bf;hb=9175d6f862039cfbf6b85333d72a9d91e64ea42a;hpb=0b1ad400c8f64575292a7ff54a8ce872a124b19e diff --git a/lustre/mdt/mdt_handler.c b/lustre/mdt/mdt_handler.c index 3035202..9ffd9c7 100644 --- a/lustre/mdt/mdt_handler.c +++ b/lustre/mdt/mdt_handler.c @@ -1574,7 +1574,7 @@ out_shrink: } static int mdt_iocontrol(unsigned int cmd, struct obd_export *exp, int len, - void *karg, void *uarg); + void *karg, void __user *uarg); static int mdt_set_info(struct tgt_session_info *tsi) { @@ -5710,7 +5710,7 @@ static int mdt_ioc_version_get(struct mdt_thread_info *mti, void *karg) /* ioctls on obd dev */ static int mdt_iocontrol(unsigned int cmd, struct obd_export *exp, int len, - void *karg, void *uarg) + void *karg, void __user *uarg) { struct lu_env env; struct obd_device *obd = exp->exp_obd;