]> git.baikalelectronics.ru Git - kernel.git/commit
inode: move inode to a different list inside lock
authorGlauber Costa <glommer@gmail.com>
Wed, 28 Aug 2013 00:17:59 +0000 (10:17 +1000)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 10 Sep 2013 22:56:30 +0000 (18:56 -0400)
commit1ab7585a20f1611bd79cfe945ff997373c25a831
treea8959a7583895330006abfa490cac57eb0fe5225
parent0e01cbd5dcb135cddfb6515d97e5cf282e8b3d28
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: Glauber Costa <glommer@openvz.org>
Tested-by: Michal Hocko <mhocko@suse.cz>
Cc: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/inode.c