Joel Becker ee19a77956 ocfs2: Wrap access of directory allocations with ip_alloc_sem.
OCFS2_I(inode)->ip_alloc_sem is a read-write semaphore protecting
local concurrent access of ocfs2 inodes.  However, ocfs2 directories were
not taking the semaphore while they accessed or modified the allocation
tree.

ocfs2_extend_dir() needs to take the semaphore in a write mode when it
adds to the allocation.  All other directory users get there via
ocfs2_bread(), which takes the semaphore in read mode.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
2007-05-02 15:07:42 -07:00
..
2007-04-26 14:39:48 -07:00
2007-04-26 13:38:55 -07:00
2007-04-26 15:10:40 -07:00
2007-01-21 16:19:12 -08:00
2007-04-26 15:10:40 -07:00
2007-04-26 15:10:40 -07:00
2007-04-26 15:10:40 -07:00
2007-05-02 15:07:16 -07:00
2007-05-02 15:07:16 -07:00
2006-09-20 15:48:39 -07:00
2007-05-02 15:07:16 -07:00
2007-04-26 14:39:48 -07:00
2007-04-26 15:10:40 -07:00
2006-03-24 14:58:24 -08:00
2006-12-07 08:39:25 -08:00
2007-04-26 14:40:16 -07:00
2007-04-26 14:40:16 -07:00