summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2013-02-06 01:37:39 -0800
committerEric W. Biederman <ebiederm@xmission.com>2013-02-13 07:28:53 -0800
commit3da46565043a3d7b9fd5c924e7de2d3e65e9d2a9 (patch)
tree71d4dade7e6b9d32d915d28a98878fb730ccd6ac /fs/cifs/cifsglob.h
parentfef59fd728366aa9bf125b8859aff84fa0bd1a36 (diff)
downloadtalos-obmc-linux-3da46565043a3d7b9fd5c924e7de2d3e65e9d2a9.tar.gz
talos-obmc-linux-3da46565043a3d7b9fd5c924e7de2d3e65e9d2a9.zip
cifs: Modify struct smb_vol to use kuids and kgids
Add two helper functions get_option_uid and get_option_gid to handle the work of parsing uid and gids paramaters from the command line and making kuids and kgids out of them. Cc: Steve French <smfrench@gmail.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index 04aa74e5b348..e308e8bd0772 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -399,11 +399,11 @@ struct smb_vol {
char *iocharset; /* local code page for mapping to and from Unicode */
char source_rfc1001_name[RFC1001_NAME_LEN_WITH_NULL]; /* clnt nb name */
char target_rfc1001_name[RFC1001_NAME_LEN_WITH_NULL]; /* srvr nb name */
- uid_t cred_uid;
- uid_t linux_uid;
- gid_t linux_gid;
- uid_t backupuid;
- gid_t backupgid;
+ kuid_t cred_uid;
+ kuid_t linux_uid;
+ kgid_t linux_gid;
+ kuid_t backupuid;
+ kgid_t backupgid;
umode_t file_mode;
umode_t dir_mode;
unsigned secFlg;
OpenPOWER on IntegriCloud