X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Flmv%2Flmv_obd.c;h=78842b008baa776758af07820342fa174ef19ad5;hp=8afd6d77ac5f605d50b20f8deaddd679d4fcb156;hb=3b2dad4ebb4ac81cebeab6c7e0c4ecb67f1de7ea;hpb=bdd1272607a95482d6b5261de7fe8bec1d57e2a8 diff --git a/lustre/lmv/lmv_obd.c b/lustre/lmv/lmv_obd.c index 8afd6d7..78842b0 100644 --- a/lustre/lmv/lmv_obd.c +++ b/lustre/lmv/lmv_obd.c @@ -809,7 +809,8 @@ static void lmv_hsm_req_build(struct lmv_obd *lmv, } static int lmv_hsm_ct_unregister(struct lmv_obd *lmv, unsigned int cmd, int len, - struct lustre_kernelcomm *lk, void *uarg) + struct lustre_kernelcomm *lk, + void __user *uarg) { __u32 i; int rc; @@ -836,7 +837,7 @@ static int lmv_hsm_ct_unregister(struct lmv_obd *lmv, unsigned int cmd, int len, } static int lmv_hsm_ct_register(struct lmv_obd *lmv, unsigned int cmd, int len, - struct lustre_kernelcomm *lk, void *uarg) + struct lustre_kernelcomm *lk, __user void *uarg) { struct file *filp; __u32 i, j;