aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2010-03-01 06:30:31 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-04-26 10:48:02 -0400
commit87bcb4b15d9443cf9a12943fb9162e53ac045b55 (patch)
tree80a5b56caeffb1d3e01c798ecac8e9ab6ca03d17 /samples
parent30cd163f7c089175033d643bcd475c552926fbbf (diff)
xfs: fix locking for inode cache radix tree tag updates
commit f1f724e4b523d444c5a598d74505aefa3d6844d2 upstream. 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 <hch@lst.de> Reported-by: Patrick Schreurs <patrick@news-service.com> Tested-by: Patrick Schreurs <patrick@news-service.com> Signed-off-by: Alex Elder <aelder@sgi.com> Cc: Dave Chinner <david@fromorbit.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions