Import 2.4.0-test2pre7
[davej-history.git] / include / linux / coda_cache.h
blobfe3b2f40c3174ca72b55aa4e31643ec597c1fbf4
1 /* Coda filesystem -- Linux Minicache
3 * Copyright (C) 1989 - 1997 Carnegie Mellon University
5 * Carnegie Mellon University encourages users of this software to
6 * contribute improvements to the Coda project. Contact Peter Braam
7 * <coda@cs.cmu.edu>
8 */
10 #ifndef _CFSNC_HEADER_
11 #define _CFSNC_HEADER_
14 * Structure for an element in the Coda Credential Cache.
17 struct coda_cache {
18 struct list_head cc_cclist; /* list of all cache entries */
19 struct list_head cc_cnlist; /* list of cache entries/cnode */
20 int cc_mask;
21 struct coda_cred cc_cred;
24 /* credential cache */
25 void coda_cache_enter(struct inode *inode, int mask);
26 void coda_cache_clear_inode(struct inode *);
27 void coda_cache_clear_all(struct super_block *sb);
28 void coda_cache_clear_cred(struct super_block *sb, struct coda_cred *cred);
29 int coda_cache_check(struct inode *inode, int mask);
31 /* for downcalls and attributes and lookups */
32 void coda_flag_inode_children(struct inode *inode, int flag);
34 #endif _CFSNC_HEADER_