ocfs2: Correct ordering of ip_alloc_sem and localloc locks for directories
authorJan Kara <jack@suse.cz>
Tue, 2 Jun 2009 12:24:03 +0000 (14:24 +0200)
committerJoel Becker <joel.becker@oracle.com>
Thu, 4 Jun 2009 02:14:30 +0000 (19:14 -0700)
commitedd45c08499a3e9d4c25431cd2b6a9ce5f692c92
tree13016ad69aa059604c1d71809d66a92f60124fd4
parent80d73f15d12f087f3fe074f8a4d6e5c5624f2b47
ocfs2: Correct ordering of ip_alloc_sem and localloc locks for directories

We use ordering ip_alloc_sem -> local alloc locks in ocfs2_write_begin().
So change lock ordering in ocfs2_extend_dir() and ocfs2_expand_inline_dir()
to also use this lock ordering.

Signed-off-by: Jan Kara <jack@suse.cz>
Acked-by: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/dir.c
This page took 0.025291 seconds and 5 git commands to generate.