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
hack to always use root credential between client and oss.
[fs/lustre-release.git]
/
lustre
/
sec
/
sec.c
diff --git
a/lustre/sec/sec.c
b/lustre/sec/sec.c
index
a9f4e56
..
40f892a
100644
(file)
--- a/
lustre/sec/sec.c
+++ b/
lustre/sec/sec.c
@@
-419,7
+419,8
@@
static struct ptlrpc_cred *get_cred(struct ptlrpc_sec *sec)
LASSERT(sec);
- if (sec->ps_flags & (PTLRPC_SEC_FL_MDS | PTLRPC_SEC_FL_REVERSE)) {
+ if (sec->ps_flags &
+ (PTLRPC_SEC_FL_MDS | PTLRPC_SEC_FL_OSS | PTLRPC_SEC_FL_REVERSE)) {
vcred.vc_pag = 0;
vcred.vc_uid = 0;
} else {