diff options
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 339ebe3ebc0d..c3c7d7c46220 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h | |||
@@ -230,6 +230,12 @@ struct cifs_mnt_data { | |||
230 | int flags; | 230 | int flags; |
231 | }; | 231 | }; |
232 | 232 | ||
233 | static inline unsigned int | ||
234 | get_rfc1002_length(void *buf) | ||
235 | { | ||
236 | return be32_to_cpu(*((__be32 *)buf)); | ||
237 | } | ||
238 | |||
233 | struct TCP_Server_Info { | 239 | struct TCP_Server_Info { |
234 | struct list_head tcp_ses_list; | 240 | struct list_head tcp_ses_list; |
235 | struct list_head smb_ses_list; | 241 | struct list_head smb_ses_list; |