]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
inode: move inode to a different list inside lock
authorGlauber Costa <glommer@gmail.com>
Thu, 18 Jul 2013 23:59:54 +0000 (09:59 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 19 Jul 2013 03:11:27 +0000 (13:11 +1000)
commit64b0cb3f9bb964e86cfb03f457472ce1f964017d
treefaabcf10b6c8ccb583dc0858b401abd55bac5e69
parentaa7e7df14cd5794996f0adf641d51b8a87e15051
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>
fs/inode.c