aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@tuxera.com>2010-10-01 05:46:31 +0200
committerChristoph Hellwig <hch@lst.de>2010-10-01 05:46:31 +0200
commit7fcc99f4f2ddb1c39abc05fbb9b32f05b03c7f8f (patch)
treeb07045981f17d855f89f1ef59579e330d8ffce20 /arch
parent89755dcace09b44b3aa024bf302d9b19b4c24cad (diff)
downloadkernel_samsung_crespo-7fcc99f4f2ddb1c39abc05fbb9b32f05b03c7f8f.zip
kernel_samsung_crespo-7fcc99f4f2ddb1c39abc05fbb9b32f05b03c7f8f.tar.gz
kernel_samsung_crespo-7fcc99f4f2ddb1c39abc05fbb9b32f05b03c7f8f.tar.bz2
hfsplus: add missing extent locking in hfsplus_write_inode
Most of the extent handling code already does proper SMP locking, but hfsplus_write_inode was calling into hfsplus_ext_write_extent without taking the extents_lock. Fix this by splitting hfsplus_ext_write_extent into an internal helper that expects the lock, and a public interface that first acquires it. Also add a few locking asserts and document the locking rules in hfsplus_fs.h. Signed-off-by: Christoph Hellwig <hch@tuxera.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions