diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2012-09-18 19:20:33 -0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-09-24 22:46:30 -0400 |
commit | 76ec5e33846de386f44826f145cd725b92c23630 (patch) | |
tree | 864a76aa2c0aa618995f8b6587b1aa924d745f91 /fs/cifs/cifsglob.h | |
parent | 983c88a497914d60c91f431b05a8449ddda19167 (diff) |
CIFS: Move statfs to ops struct
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index a95c56dc7058..3c007fe641f9 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h | |||
@@ -32,6 +32,8 @@ | |||
32 | #include "smb2pdu.h" | 32 | #include "smb2pdu.h" |
33 | #endif | 33 | #endif |
34 | 34 | ||
35 | #define CIFS_MAGIC_NUMBER 0xFF534D42 /* the first four bytes of SMB PDUs */ | ||
36 | |||
35 | /* | 37 | /* |
36 | * The sizes of various internal tables and strings | 38 | * The sizes of various internal tables and strings |
37 | */ | 39 | */ |
@@ -334,6 +336,9 @@ struct smb_version_operations { | |||
334 | /* send oplock break response */ | 336 | /* send oplock break response */ |
335 | int (*oplock_response)(struct cifs_tcon *, struct cifs_fid *, | 337 | int (*oplock_response)(struct cifs_tcon *, struct cifs_fid *, |
336 | struct cifsInodeInfo *); | 338 | struct cifsInodeInfo *); |
339 | /* query remote filesystem */ | ||
340 | int (*queryfs)(const unsigned int, struct cifs_tcon *, | ||
341 | struct kstatfs *); | ||
337 | }; | 342 | }; |
338 | 343 | ||
339 | struct smb_version_values { | 344 | struct smb_version_values { |