From: Jan Kara Date: Tue, 4 Jun 2013 18:27:38 +0000 (-0400) Subject: ext4: protect extent conversion after DIO with i_dio_count X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~83^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e83403959fddb6d90e8c5e54bbce3110d0c82165;p=pandora-kernel.git ext4: protect extent conversion after DIO with i_dio_count Make sure extent conversion after DIO happens while i_dio_count is still elevated so that inode_dio_wait() waits until extent conversion is done. This removes the need for explicit waiting for extent conversion in some cases. Reviewed-by: Zheng Liu Signed-off-by: Jan Kara Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed