From 392e8802486cb573b916e746010e141a75f507e6 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 09:58:27 +0800 Subject: init android origin source code --- ANDROID_3.4.5/fs/coda/coda_cache.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 ANDROID_3.4.5/fs/coda/coda_cache.h (limited to 'ANDROID_3.4.5/fs/coda/coda_cache.h') diff --git a/ANDROID_3.4.5/fs/coda/coda_cache.h b/ANDROID_3.4.5/fs/coda/coda_cache.h new file mode 100644 index 00000000..c910b5eb --- /dev/null +++ b/ANDROID_3.4.5/fs/coda/coda_cache.h @@ -0,0 +1,22 @@ +/* Coda filesystem -- Linux Minicache + * + * Copyright (C) 1989 - 1997 Carnegie Mellon University + * + * Carnegie Mellon University encourages users of this software to + * contribute improvements to the Coda project. Contact Peter Braam + * + */ + +#ifndef _CFSNC_HEADER_ +#define _CFSNC_HEADER_ + +/* credential cache */ +void coda_cache_enter(struct inode *inode, int mask); +void coda_cache_clear_inode(struct inode *); +void coda_cache_clear_all(struct super_block *sb); +int coda_cache_check(struct inode *inode, int mask); + +/* for downcalls and attributes and lookups */ +void coda_flag_inode_children(struct inode *inode, int flag); + +#endif /* _CFSNC_HEADER_ */ -- cgit