commit | a86a72a4a4e0ec109a98e2737948864ed6794bf7 | [log] [tgz] |
---|---|---|
author | Ryan Ding <[email protected]> | Fri Mar 25 14:21:18 2016 -0700 |
committer | Linus Torvalds <[email protected]> | Fri Mar 25 16:37:42 2016 -0700 |
tree | 8fcefc0392041d5406f8bf88300dd53fc23c82f8 | |
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 <[email protected]> Reviewed-by: Junxiao Bi <[email protected]> Cc: Joseph Qi <[email protected]> Cc: Mark Fasheh <[email protected]> Cc: Joel Becker <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>