diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-12-06 23:51:34 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1997-12-06 23:51:34 +0000 |
commit | 230e5ab6a084ed50470f101934782dbf54b0d06b (patch) | |
tree | 5dd821c8d33f450470588e7a543f74bf74306e9e /include/linux/smb_fs_sb.h | |
parent | c9b1c8a64c6444d189856f1e26bdcb8b4cd0113a (diff) |
Merge with Linux 2.1.67.
Diffstat (limited to 'include/linux/smb_fs_sb.h')
-rw-r--r-- | include/linux/smb_fs_sb.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/linux/smb_fs_sb.h b/include/linux/smb_fs_sb.h index 72b805e60..4e277ad3c 100644 --- a/include/linux/smb_fs_sb.h +++ b/include/linux/smb_fs_sb.h @@ -13,13 +13,17 @@ #include <linux/types.h> #include <linux/smb.h> -#include <linux/smb_mount.h> + +/* Get the server for the specified dentry */ +#define server_from_dentry(dentry) &dentry->d_sb->u.smbfs_sb +#define SB_of(server) ((struct super_block *) ((char *)(server) - \ + (unsigned long)(&((struct super_block *)0)->u.smbfs_sb))) struct smb_sb_info { enum smb_conn_state state; struct file * sock_file; - struct smb_mount_data m; + struct smb_mount_data *mnt; /* Connections are counted. Each time a new socket arrives, * generation is incremented. @@ -29,6 +33,7 @@ struct smb_sb_info { struct smb_conn_opt opt; struct semaphore sem; + struct wait_queue * wait; __u32 packet_size; unsigned char * packet; |