patch-2.3.20 linux/include/linux/ncp_fs_sb.h
Next file: linux/include/linux/ncp_mount.h
Previous file: linux/include/linux/ncp_fs_i.h
Back to the patch index
Back to the overall index
- Lines: 41
- Date:
Thu Oct 7 10:17:09 1999
- Orig file:
v2.3.19/linux/include/linux/ncp_fs_sb.h
- Orig date:
Wed Aug 18 16:45:41 1999
diff -u --recursive --new-file v2.3.19/linux/include/linux/ncp_fs_sb.h linux/include/linux/ncp_fs_sb.h
@@ -8,9 +8,8 @@
#ifndef _NCP_FS_SB
#define _NCP_FS_SB
-#include <asm/semaphore.h>
-#include <linux/ncp_mount.h>
#include <linux/types.h>
+#include <linux/ncp_mount.h>
#ifdef __KERNEL__
@@ -51,9 +50,6 @@
int has_subfunction;
int ncp_reply_size;
- struct ncp_inode_info root;
- struct dentry* root_dentry;
-
int root_setuped;
/* info for packet signing */
@@ -75,10 +71,16 @@
void* data;
} priv;
- struct ncp_nls_ioctl nls_charsets; /* NLS user data */
- struct nls_table *nls_vol; /* codepage used on volume */
- struct nls_table *nls_io; /* charset used for input and display */
+ /* nls info: codepage for volume and charset for I/O */
+ struct nls_table *nls_vol;
+ struct nls_table *nls_io;
+
+ /* maximum age in jiffies */
+ int dentry_ttl;
};
+
+#define ncp_sb_info ncp_server
+
static inline int ncp_conn_valid(struct ncp_server *server)
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)