diff options
author | Ryan Ding <ryan.ding@oracle.com> | 2016-03-25 22:21:18 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-26 00:37:42 +0100 |
commit | a86a72a4a4e0ec109a98e2737948864ed6794bf7 (patch) | |
tree | 8fcefc0392041d5406f8bf88300dd53fc23c82f8 /lib/test_static_keys.c | |
parent | ocfs2: fix ip_unaligned_aio deadlock with dio work queue (diff) | |
download | linux-a86a72a4a4e0ec109a98e2737948864ed6794bf7.tar.xz linux-a86a72a4a4e0ec109a98e2737948864ed6794bf7.zip |
ocfs2: take ip_alloc_sem in ocfs2_dio_get_block & ocfs2_dio_end_io_write
Take ip_alloc_sem to prevent concurrent access to extent tree, which may
cause the extent tree in an unstable state.
Signed-off-by: Ryan Ding <ryan.ding@oracle.com>
Reviewed-by: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Joseph Qi <joseph.qi@huawei.com>
Cc: Mark Fasheh <mfasheh@suse.de>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/test_static_keys.c')
0 files changed, 0 insertions, 0 deletions