Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-9795 gss: properly handle mgssec
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
gss
/
gss_svc_upcall.c
diff --git
a/lustre/ptlrpc/gss/gss_svc_upcall.c
b/lustre/ptlrpc/gss/gss_svc_upcall.c
index
4b2d927
..
a00b541
100644
(file)
--- a/
lustre/ptlrpc/gss/gss_svc_upcall.c
+++ b/
lustre/ptlrpc/gss/gss_svc_upcall.c
@@
-857,6
+857,13
@@
int gss_svc_upcall_install_rvs_ctx(struct obd_import *imp,
break;
case LUSTRE_SP_CLI:
rsci.ctx.gsc_usr_root = 1;
+ break;
+ case LUSTRE_SP_MGS:
+ /* by convention, all 3 set to 1 means MGS */
+ rsci.ctx.gsc_usr_mds = 1;
+ rsci.ctx.gsc_usr_oss = 1;
+ rsci.ctx.gsc_usr_root = 1;
+ break;
default:
break;
}