diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2013-01-29 19:09:41 -0500 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2013-02-12 06:19:30 -0500 |
commit | f791f7c5e354870eaa5e31c4038c6723683283f1 (patch) | |
tree | c87d24cc220734f65ef7f54e0ed404f74dcfeea1 /fs/9p | |
parent | 97fc8b1ebf6a0fe4bb9c71a8e91a822c22c09bc5 (diff) |
9p: Transmit kuid and kgid values
Modify the p9_client_rpc format specifiers of every function that
directly transmits a uid or a gid from 'd' to 'u' or 'g' as
appropriate.
Modify those same functions to take kuid_t and kgid_t parameters
instead of uid_t and gid_t parameters.
Cc: Eric Van Hensbergen <ericvh@gmail.com>
Cc: Ron Minnich <rminnich@gmail.com>
Cc: Latchesar Ionkov <lucho@ionkov.net>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'fs/9p')
-rw-r--r-- | fs/9p/v9fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/9p/v9fs.c b/fs/9p/v9fs.c index d934f04e7736..4e0bd9d62ed6 100644 --- a/fs/9p/v9fs.c +++ b/fs/9p/v9fs.c | |||
@@ -375,7 +375,7 @@ struct p9_fid *v9fs_session_init(struct v9fs_session_info *v9ses, | |||
375 | v9ses->flags &= ~V9FS_ACL_MASK; | 375 | v9ses->flags &= ~V9FS_ACL_MASK; |
376 | } | 376 | } |
377 | 377 | ||
378 | fid = p9_client_attach(v9ses->clnt, NULL, v9ses->uname, ~0, | 378 | fid = p9_client_attach(v9ses->clnt, NULL, v9ses->uname, INVALID_UID, |
379 | v9ses->aname); | 379 | v9ses->aname); |
380 | if (IS_ERR(fid)) { | 380 | if (IS_ERR(fid)) { |
381 | retval = PTR_ERR(fid); | 381 | retval = PTR_ERR(fid); |