From: Christoph Hellwig Date: Mon, 1 Mar 2010 11:30:31 +0000 (+0000) Subject: xfs: fix locking for inode cache radix tree tag updates X-Git-Tag: v2.6.34-rc1~26^2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1f724e4b523d444c5a598d74505aefa3d6844d2;p=pandora-kernel.git xfs: fix locking for inode cache radix tree tag updates The radix-tree code requires it's users to serialize tag updates against other updates to the tree. While XFS protects tag updates against each other it does not serialize them against updates of the tree contents, which can lead to tag corruption. Fix the inode cache to always take pag_ici_lock in exclusive mode when updating radix tree tags. Signed-off-by: Christoph Hellwig Reported-by: Patrick Schreurs Tested-by: Patrick Schreurs Signed-off-by: Alex Elder --- Reading git-diff-tree failed