Skip to content
Commit d38fa698 authored by Glauber Costa's avatar Glauber Costa Committed by Al Viro
Browse files

inode: move inode to a different list inside lock



When removing an element from the lru, this will be done today after the lock
is released. This is a clear mistake, although we are not sure if the bugs we
are seeing are related to this. All list manipulations are done inside the
lock, and so should this one.

Signed-off-by: default avatarGlauber Costa <glommer@openvz.org>
Tested-by: default avatarMichal Hocko <mhocko@suse.cz>
Cc: Dave Chinner <dchinner@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent bc3b14cb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment