diff options
author | Ryan Ding <ryan.ding@oracle.com> | 2016-03-25 14:21:18 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-25 16:37:42 -0700 |
commit | a86a72a4a4e0ec109a98e2737948864ed6794bf7 (patch) | |
tree | 8fcefc0392041d5406f8bf88300dd53fc23c82f8 /fs/ocfs2/resize.h | |
parent | e63890f38ade9497b5609ddeb7f52df0fe55ea15 (diff) |
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 'fs/ocfs2/resize.h')
0 files changed, 0 insertions, 0 deletions