Re: [PATCH] hfsplus: fix concurrent acess of alloc_blocks

2014-02-19 Thread sougata santra
On 02/19/2014 12:06 AM, Andrew Morton wrote: On Mon, 17 Feb 2014 14:20:47 +0200 Sougata Santra wrote: Concurrent access to alloc_blocks in hfsplus_inode_info is protected by extents_lock mutex. This patch fixes two instances where alloc_blocks modification was not protected with this lock. Th

Re: [PATCH] hfsplus: fix concurrent acess of alloc_blocks

2014-02-19 Thread Sougata Santra
On Tue, 2014-02-18 at 14:06 -0800, Andrew Morton wrote: > On Mon, 17 Feb 2014 14:20:47 +0200 Sougata Santra wrote: > > > > > Concurrent access to alloc_blocks in hfsplus_inode_info is > > protected by extents_lock mutex. This patch fixes two > > instances where alloc_blocks modification was not

Re: [PATCH] hfsplus: fix concurrent acess of alloc_blocks

2014-02-18 Thread Andrew Morton
On Mon, 17 Feb 2014 14:20:47 +0200 Sougata Santra wrote: > > Concurrent access to alloc_blocks in hfsplus_inode_info is > protected by extents_lock mutex. This patch fixes two > instances where alloc_blocks modification was not protected > with this lock. This fixes possible allocation bitmap >

[PATCH] hfsplus: fix concurrent acess of alloc_blocks

2014-02-17 Thread Sougata Santra
Concurrent access to alloc_blocks in hfsplus_inode_info is protected by extents_lock mutex. This patch fixes two instances where alloc_blocks modification was not protected with this lock. This fixes possible allocation bitmap corruption in race conditions while extending and truncating files. Si