]> Pileus Git - ~andy/linux/blobdiff - fs/fscache/internal.h
FS-Cache: Simplify cookie retention for fscache_objects, fixing oops
[~andy/linux] / fs / fscache / internal.h
index 3322d3c42ba8c2d656a1535fc9b9234d328eafe4..12d505bedb5c2ce6a808948b5ee082bca9e127cc 100644 (file)
@@ -93,6 +93,7 @@ static inline bool fscache_object_congested(void)
 
 extern int fscache_wait_bit(void *);
 extern int fscache_wait_bit_interruptible(void *);
+extern int fscache_wait_atomic_t(atomic_t *);
 
 /*
  * object.c
@@ -106,8 +107,10 @@ extern void fscache_enqueue_object(struct fscache_object *);
 extern const struct file_operations fscache_objlist_fops;
 
 extern void fscache_objlist_add(struct fscache_object *);
+extern void fscache_objlist_remove(struct fscache_object *);
 #else
 #define fscache_objlist_add(object) do {} while(0)
+#define fscache_objlist_remove(object) do {} while(0)
 #endif
 
 /*