]> git.baikalelectronics.ru Git - kernel.git/commit
FS-Cache: Provide a slab for cookie allocation
authorDavid Howells <dhowells@redhat.com>
Fri, 3 Apr 2009 15:42:38 +0000 (16:42 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 3 Apr 2009 15:42:38 +0000 (16:42 +0100)
commitdfda6976261ecf4e8027982b783839d833452816
treec6109684239fd45462e494fb4f26aa8e2e651922
parent0b3e578c3e313ed864c5373d2ccffecffb009910
FS-Cache: Provide a slab for cookie allocation

Provide a slab from which can be allocated the FS-Cache cookies that will be
presented to the netfs.

Also provide a slab constructor and a function to recursively discard a cookie
and its ancestor chain.

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>
fs/fscache/Makefile
fs/fscache/cookie.c [new file with mode: 0644]
fs/fscache/internal.h
fs/fscache/main.c