commit | 09f363c7363eb10cfb4b82094bd7064e5608258b | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Mon Oct 31 17:08:57 2011 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Oct 31 17:30:49 2011 -0700 |
tree | 4b1890150cf7f7a2339694ea97efa6c45b8705a1 | |
parent | 20c8c62891a346e09c8d26de41ce78bd7a76c5b0 [diff] |
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 <mpatocka@redhat.com> Cc: Dave Chinner <david@fromorbit.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>