patch-2.1.48 linux/include/linux/dcache.h
Next file: linux/include/linux/fs.h
Previous file: linux/include/asm-sparc64/timer.h
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Wed Jul 30 20:53:50 1997
- Orig file:
v2.1.47/linux/include/linux/dcache.h
- Orig date:
Sun Jul 27 12:11:01 1997
diff -u --recursive --new-file v2.1.47/linux/include/linux/dcache.h linux/include/linux/dcache.h
@@ -49,9 +49,13 @@
struct list_head d_alias; /* inode alias list */
struct list_head d_lru; /* d_count = 0 LRU list */
struct qstr d_name;
- struct dentry * (*d_revalidate)(struct dentry *);
+ unsigned long d_time; /* used by d_revalidate */
+ int (*d_revalidate)(struct dentry *);
};
+/* d_flags entries */
+#define DCACHE_AUTOFS_PENDING 0x0001 /* autofs: "under construction" */
+
/*
* d_drop() unhashes the entry from the parent
* dentry hashes, so that it won't be found through
@@ -102,8 +106,8 @@
extern int d_validate(struct dentry *dentry, struct dentry *dparent,
unsigned int hash, unsigned int len);
-/* write full pathname into buffer and return length */
-extern int d_path(struct dentry * entry, struct dentry * chroot, char * buf);
+/* write full pathname into buffer and return start of pathname */
+extern char * d_path(struct dentry * entry, char * buf, int buflen);
/* Allocation counts.. */
static inline struct dentry * dget(struct dentry *dentry)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov