From: Dave Chinner Date: Wed, 28 Aug 2013 00:18:08 +0000 (+1000) Subject: xfs: fix dquot isolation hang X-Git-Tag: v3.12-rc1~25^2^2~12 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35163417fb7a55a24b6b0ebb102e9991adf309aa;p=pandora-kernel.git xfs: fix dquot isolation hang The new LRU list isolation code in xfs_qm_dquot_isolate() isn't completely up to date. Firstly, it needs conversion to return enum lru_status values, not raw numbers. Secondly - most importantly - it fails to unlock the dquot and relock the LRU in the LRU_RETRY path. This leads to deadlocks in xfstests generic/232. Fix them. Signed-off-by: Dave Chinner Cc: Glauber Costa Cc: Michal Hocko Signed-off-by: Andrew Morton Signed-off-by: Al Viro --- Reading git-diff-tree failed