]> Git Repo - linux.git/commit
vmscan: fix shrinker callback bug in fs/super.c
authorMikulas Patocka <[email protected]>
Tue, 1 Nov 2011 00:08:57 +0000 (17:08 -0700)
committerLinus Torvalds <[email protected]>
Tue, 1 Nov 2011 00:30:49 +0000 (17:30 -0700)
commit09f363c7363eb10cfb4b82094bd7064e5608258b
tree4b1890150cf7f7a2339694ea97efa6c45b8705a1
parent20c8c62891a346e09c8d26de41ce78bd7a76c5b0
vmscan: fix shrinker callback bug in fs/super.c

The callback must not return -1 when nr_to_scan is zero. Fix the bug in
fs/super.c and add this requirement to the callback specification.

Signed-off-by: Mikulas Patocka <[email protected]>
Cc: Dave Chinner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/super.c
include/linux/shrinker.h
This page took 0.046767 seconds and 4 git commands to generate.