From: Jaegeuk Kim Date: Sat, 18 Oct 2014 03:33:55 +0000 (-0700) Subject: f2fs: avoid to allocate when inline_data was written X-Git-Tag: omap-for-v3.19/fixes-rc1~146^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ba69cf9877384baebd16c6fb51ceccd13677b37;p=pandora-kernel.git f2fs: avoid to allocate when inline_data was written The sceanrio is like this. inline_data i_size page write_begin/vm_page_mkwrite X 30 dirty_page X 30 write to #4096 position X 30 get_dnode_of_data wait for get_dnode_of_data O 30 write inline_data O 30 get_dnode_of_data O 30 reserve data block .. In this case, we have #0 = NEW_ADDR and inline_data as well. We should not allow this condition for further access. Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed