commit | edd45c08499a3e9d4c25431cd2b6a9ce5f692c92 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Tue Jun 02 14:24:03 2009 +0200 |
committer | Joel Becker <joel.becker@oracle.com> | Wed Jun 03 19:14:30 2009 -0700 |
tree | 13016ad69aa059604c1d71809d66a92f60124fd4 | |
parent | 80d73f15d12f087f3fe074f8a4d6e5c5624f2b47 [diff] |
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>