patch-2.1.44 linux/fs/autofs/autofs_i.h
Next file: linux/fs/autofs/dir.c
Previous file: linux/fs/affs/namei.c
Back to the patch index
Back to the overall index
- Lines: 41
- Date:
Mon Jul 7 16:03:41 1997
- Orig file:
v2.1.43/linux/fs/autofs/autofs_i.h
- Orig date:
Thu Jun 12 15:30:40 1997
diff -u --recursive --new-file v2.1.43/linux/fs/autofs/autofs_i.h linux/fs/autofs/autofs_i.h
@@ -69,10 +69,8 @@
#define AUTOFS_HASH_SIZE 67
-typedef u32 autofs_hash_t; /* Type returned by autofs_hash() */
-
struct autofs_dir_ent {
- autofs_hash_t hash;
+ int hash;
struct autofs_dir_ent *next;
struct autofs_dir_ent **back;
char *name;
@@ -94,7 +92,7 @@
struct wait_queue *queue;
struct autofs_wait_queue *next;
/* We use the following to see what we are waiting for */
- autofs_hash_t hash;
+ int hash;
int len;
char *name;
/* This is for status reporting upon return */
@@ -151,9 +149,8 @@
/* Hash operations */
-autofs_hash_t autofs_hash(const char *,int);
void autofs_initialize_hash(struct autofs_dirhash *);
-struct autofs_dir_ent *autofs_hash_lookup(const struct autofs_dirhash *,autofs_hash_t,const char *,int);
+struct autofs_dir_ent *autofs_hash_lookup(const struct autofs_dirhash *,struct qstr *);
void autofs_hash_insert(struct autofs_dirhash *,struct autofs_dir_ent *);
void autofs_hash_delete(struct autofs_dir_ent *);
struct autofs_dir_ent *autofs_hash_enum(const struct autofs_dirhash *,off_t *);
@@ -176,7 +173,7 @@
/* Queue management functions */
-int autofs_wait(struct autofs_sb_info *,autofs_hash_t,const char *,int);
+int autofs_wait(struct autofs_sb_info *,struct qstr *);
int autofs_wait_release(struct autofs_sb_info *,unsigned long,int);
void autofs_catatonic_mode(struct autofs_sb_info *);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov