summaryrefslogtreecommitdiffstats
path: root/arch/score/include/asm/ucontext.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2010-03-01 11:30:31 +0000
committerAlex Elder <aelder@sgi.com>2010-03-01 19:14:36 -0600
commitf1f724e4b523d444c5a598d74505aefa3d6844d2 (patch)
tree49408b17a42628b7a0fbc1d5bf163bb716e73545 /arch/score/include/asm/ucontext.h
parenta14a5ab58f9d783ec3a2a287320fab22e1764813 (diff)
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 <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>
Diffstat (limited to 'arch/score/include/asm/ucontext.h')
0 files changed, 0 insertions, 0 deletions