]> 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, 27 Jun 2013 23:52:14 +0000 (09:52 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:37:58 +0000 (16:37 +1000)
commitd9bb6458e6e6ed7b7e57e243bd8102662aa357d9
tree75d2c053b853f403e6fb1838adef4337329e4d4e
parent3f4d68a97aee7ce01e2d51030247a74d0052c266
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