Whamcloud - gitweb
land b_hd_pag: rudiment support for PAG.
[fs/lustre-release.git] / lustre / mdc / mdc_request.c
index 666782e..4992ccf 100644 (file)
@@ -891,8 +891,7 @@ int mdc_set_info(struct obd_export *exp, obd_count keylen,
                 struct client_obd *cli = &exp->exp_obd->u.cli;
 
                 if (cli->cl_import)
-                        ptlrpcs_import_flush_creds(cli->cl_import,
-                                                   *((uid_t *) val));
+                        ptlrpcs_import_flush_current_creds(cli->cl_import);
                 RETURN(0);
         } else if (keylen == strlen("async") && memcmp(key, "async", keylen) == 0) {
                 struct client_obd *cl = &exp->exp_obd->u.cli;