diff options
author | Jeff Layton <jlayton@redhat.com> | 2010-07-06 20:43:08 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-08-02 08:40:35 -0400 |
commit | 8913007e67106597fed4b9dd3787e8dca6915a83 (patch) | |
tree | 83fdd597cdf1a5a5871a5952c85d2c0766353091 /fs/cifs/cifsglob.h | |
parent | 4ff67b720c02c36e54d55b88c2931879b7db1cd2 (diff) |
cifs: remove unused cifsUidInfo struct
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 7b91cb4f0da4..793c8e3a0e53 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h | |||
@@ -197,28 +197,12 @@ struct TCP_Server_Info { | |||
197 | }; | 197 | }; |
198 | 198 | ||
199 | /* | 199 | /* |
200 | * The following is our shortcut to user information. We surface the uid, | ||
201 | * and name. We always get the password on the fly in case it | ||
202 | * has changed. We also hang a list of sessions owned by this user off here. | ||
203 | */ | ||
204 | struct cifsUidInfo { | ||
205 | struct list_head userList; | ||
206 | struct list_head sessionList; /* SMB sessions for this user */ | ||
207 | uid_t linux_uid; | ||
208 | char user[MAX_USERNAME_SIZE + 1]; /* ascii name of user */ | ||
209 | /* BB may need ptr or callback for PAM or WinBind info */ | ||
210 | }; | ||
211 | |||
212 | /* | ||
213 | * Session structure. One of these for each uid session with a particular host | 200 | * Session structure. One of these for each uid session with a particular host |
214 | */ | 201 | */ |
215 | struct cifsSesInfo { | 202 | struct cifsSesInfo { |
216 | struct list_head smb_ses_list; | 203 | struct list_head smb_ses_list; |
217 | struct list_head tcon_list; | 204 | struct list_head tcon_list; |
218 | struct mutex session_mutex; | 205 | struct mutex session_mutex; |
219 | #if 0 | ||
220 | struct cifsUidInfo *uidInfo; /* pointer to user info */ | ||
221 | #endif | ||
222 | struct TCP_Server_Info *server; /* pointer to server info */ | 206 | struct TCP_Server_Info *server; /* pointer to server info */ |
223 | int ses_count; /* reference counter */ | 207 | int ses_count; /* reference counter */ |
224 | enum statusEnum status; | 208 | enum statusEnum status; |