]> git.karo-electronics.de Git - karo-tx-linux.git/commit
inode: move inode to a different list inside lock
authorGlauber Costa <glommer@gmail.com>
Thu, 1 Aug 2013 06:36:10 +0000 (16:36 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 5 Aug 2013 06:12:14 +0000 (16:12 +1000)
commit1e1ce3086e3e4669533363f4f0bfdbd84d1f1286
treeef0823a5e6c534ec2ed0916af20129e2f4b0a8d7
parent9b15b6cf7ae12950ccbf823c35b9399e7b937951
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