]> git.baikalelectronics.ru Git - kernel.git/commit
hfsplus: use alloc_mutex in hfsplus_sync_fs
authorChristoph Hellwig <hch@lst.de>
Fri, 1 Oct 2010 03:41:50 +0000 (05:41 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 1 Oct 2010 03:41:50 +0000 (05:41 +0200)
commit26392ede510036a40882c67bfd247629b8522599
treed8e2547819bc1e75f3ac29804e6c5b8b23f65c75
parent6b029f28334babbf1479bceb09608cb9721b79a3
hfsplus: use alloc_mutex in hfsplus_sync_fs

Use alloc_mutex to protect hfsplus_sync_fs against itself and concurrent
allocations, which allows to get rid of lock_super in hfsplus.

Note that most fields in the superblock still aren't protected against
concurrent allocations, that will follow later.

Signed-off-by: Christoph Hellwig <hch@tuxera.com>
fs/hfsplus/super.c