linux/fs/ubifs
Dave Chinner 7f8275d0d6 mm: add context argument to shrinker callback
The current shrinker implementation requires the registered callback
to have global state to work from. This makes it difficult to shrink
caches that are not global (e.g. per-filesystem caches). Pass the shrinker
structure to the callback so that users can embed the shrinker structure
in the context the shrinker needs to operate on and get back to it in the
callback via container_of().

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2010-07-19 14:56:17 +10:00
..
budget.c writeback: enforce s_umount locking in writeback_inodes_sb 2010-06-11 12:58:07 +02:00
commit.c
compress.c
debug.c
debug.h
dir.c
file.c kill spurious reference to vmtruncate 2010-05-27 22:15:42 -04:00
find.c
gc.c
io.c
ioctl.c
journal.c
Kconfig
key.h
log.c
lprops.c
lpt.c
lpt_commit.c
Makefile
master.c
misc.h
orphan.c
recovery.c
replay.c
sb.c
scan.c
shrinker.c mm: add context argument to shrinker callback 2010-07-19 14:56:17 +10:00
super.c
tnc.c
tnc_commit.c
tnc_misc.c
ubifs-media.h
ubifs.h mm: add context argument to shrinker callback 2010-07-19 14:56:17 +10:00
xattr.c