WSL2-Linux-Kernel/fs/quota
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
..
Kconfig quota: Convert __DQUOT_PARANOIA symbol to standard config option 2010-04-20 18:25:25 +02:00
Makefile quota: split out compat_sys_quotactl support from quota.c 2010-03-05 00:20:25 +01:00
compat.c quota: split out compat_sys_quotactl support from quota.c 2010-03-05 00:20:25 +01:00
dquot.c mm: add context argument to shrinker callback 2010-07-19 14:56:17 +10:00
netlink.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
quota.c quota: drop remount argument to ->quota_on and ->quota_off 2010-05-24 14:09:12 +02:00
quota_tree.c dquot: Detect partial write error to quota file in write_blk() and add printk_ratelimit for quota error messages 2010-05-21 19:30:49 +02:00
quota_tree.h dquot: Detect partial write error to quota file in write_blk() and add printk_ratelimit for quota error messages 2010-05-21 19:30:49 +02:00
quota_v1.c quota: Make quota stat accounting lockless. 2010-05-21 19:30:41 +02:00
quota_v2.c dquot: Detect partial write error to quota file in write_blk() and add printk_ratelimit for quota error messages 2010-05-21 19:30:49 +02:00
quotaio_v1.h quota: Move quota files into separate directory 2009-03-26 02:18:35 +01:00
quotaio_v2.h quota: Implement quota format with 64-bit space and inode limits 2009-12-10 15:02:54 +01:00