summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Viro <viro@math.psu.edu>2002-10-28 02:50:39 -0800
committerJames Bottomley <jejb@mulgrave.(none)>2002-10-28 02:50:39 -0800
commit71f73bd1b861395c3ad74bd0abf49e5f5661d512 (patch)
tree179b29f1d5257567e6c513313d6a8932cab5c3c9 /include
parent4d466c1fcdceecf5f0e13894fd4805db768122c8 (diff)
[PATCH] presto cache keyed by superblock instead of kdev_t
Diffstat (limited to 'include')
-rw-r--r--include/linux/intermezzo_fs.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/intermezzo_fs.h b/include/linux/intermezzo_fs.h
index 18a9804b9b2e..2fb5e45c2d53 100644
--- a/include/linux/intermezzo_fs.h
+++ b/include/linux/intermezzo_fs.h
@@ -223,8 +223,6 @@ struct presto_cache {
int cache_flags;
- kdev_t cache_dev; /* underlying block device */
-
char *cache_type; /* filesystem type of cache */
struct filter_fs *cache_filter;
@@ -425,10 +423,10 @@ int presto_prep(struct dentry *, struct presto_cache **,
struct presto_file_set **);
/* cache.c */
extern struct presto_cache *presto_cache_init(void);
-extern inline void presto_cache_add(struct presto_cache *cache, kdev_t dev);
+extern inline void presto_cache_add(struct presto_cache *cache);
extern inline void presto_cache_init_hash(void);
-struct presto_cache *presto_cache_find(kdev_t dev);
+struct presto_cache *presto_cache_find(struct super_block *sb);
#define PRESTO_REQLOW (3 * 4096)
#define PRESTO_REQHIGH (6 * 4096)