android_kernel_xiaomi_sm8350/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
..
compat.c
dquot.c mm: add context argument to shrinker callback 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
netlink.c
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
quota.c quota: drop remount argument to ->quota_on and ->quota_off 2010-05-24 14:09:12 +02:00
quotaio_v1.h
quotaio_v2.h