hfsplus: introduce alloc_mutex
authorChristoph Hellwig <hch@lst.de>
Fri, 1 Oct 2010 03:41:39 +0000 (05:41 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 1 Oct 2010 03:41:39 +0000 (05:41 +0200)
commit40bf48afe92fcea61e7e164f0b2599fba8b88124
tree233a48a5e2de1c469804f6745d8fd48e62c78abc
parent6333816ade7e04a96ec0a34a8378c455e4f7c4dd
hfsplus: introduce alloc_mutex

Use a new per-sb alloc_mutex instead of abusing i_mutex of the alloc_file
to protect block allocations.  This gets rid of lockdep nesting warnings
and prepares for extending the scope of alloc_mutex.

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