summaryrefslogtreecommitdiffstats
path: root/fs/fscache/internal.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2009-04-03 16:42:38 +0100
committerDavid Howells <dhowells@redhat.com>2009-04-03 16:42:38 +0100
commit2868cbea72dc89ae0eb17693596b1dedaafff1c5 (patch)
tree277e2cbdafabe6ca74458445838a07b571a94996 /fs/fscache/internal.h
parent726dd7ff10c217dd74329c94643dc8ebea27334b (diff)
downloadlinux-stable-2868cbea72dc89ae0eb17693596b1dedaafff1c5.tar.gz
linux-stable-2868cbea72dc89ae0eb17693596b1dedaafff1c5.tar.bz2
linux-stable-2868cbea72dc89ae0eb17693596b1dedaafff1c5.zip
FS-Cache: Bit waiting helpers
Add helpers for use with wait_on_bit(). Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Steve Dickson <steved@redhat.com> Acked-by: Trond Myklebust <Trond.Myklebust@netapp.com> Acked-by: Al Viro <viro@zeniv.linux.org.uk> Tested-by: Daire Byrne <Daire.Byrne@framestore.com>
Diffstat (limited to 'fs/fscache/internal.h')
-rw-r--r--fs/fscache/internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/fscache/internal.h b/fs/fscache/internal.h
index 4c6ba561e966..16389942a54e 100644
--- a/fs/fscache/internal.h
+++ b/fs/fscache/internal.h
@@ -82,6 +82,9 @@ extern unsigned fscache_defer_create;
extern unsigned fscache_debug;
extern struct kobject *fscache_root;
+extern int fscache_wait_bit(void *);
+extern int fscache_wait_bit_interruptible(void *);
+
/*
* fsc-proc.c
*/