Convert /proc/device-tree/ to seq_file
[safe/jmp/linux-2.6] / include / linux / smb.h
index b016220..82fefdd 100644 (file)
 #define _LINUX_SMB_H
 
 #include <linux/types.h>
+#include <linux/magic.h>
+#ifdef __KERNEL__
+#include <linux/time.h>
+#endif
 
 enum smb_protocol { 
        SMB_PROTOCOL_NONE, 
@@ -88,7 +92,6 @@ struct smb_fattr {
        struct timespec f_atime;
        struct timespec f_mtime;
        struct timespec f_ctime;
-       unsigned long   f_blksize;
        unsigned long   f_blocks;
        int             f_unix;
 };
@@ -101,8 +104,6 @@ enum smb_conn_state {
        CONN_RETRYING           /* Currently trying to reconnect */
 };
 
-#define SMB_SUPER_MAGIC               0x517B
-
 #define SMB_HEADER_LEN   37     /* includes everything up to, but not
                                  * including smb_bcc */