From: Miao Xie Date: Thu, 27 Jun 2013 10:51:00 +0000 (+0800) Subject: Btrfs: fix several potential problems in copy_nocow_pages_for_inode X-Git-Tag: v3.11-rc1~70^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edd1400be9f983f521c7397740d810fa210ee52f;p=pandora-kernel.git Btrfs: fix several potential problems in copy_nocow_pages_for_inode - It makes no sense that we deal with a inode in the dead tree. - fix the race between dio and page copy by waiting the dio completion - avoid the page copy vs truncate/punch hole - check if the page is in the page cache or not Signed-off-by: Miao Xie Signed-off-by: Josef Bacik --- Reading git-diff-tree failed