From: Miao Xie Date: Thu, 27 Jun 2013 10:50:59 +0000 (+0800) Subject: Btrfs: cleanup the code of copy_nocow_pages_for_inode() X-Git-Tag: v3.11-rc1~70^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=826aa0a82c5b9d2c8016c02b552e8f82f5b1e660;p=pandora-kernel.git Btrfs: cleanup the code of copy_nocow_pages_for_inode() - It make no sense that we continue to do something after the error happened, just go back with this patch. - remove some check of copy_nocow_pages_for_inode(), such as page check after write, inode check in the end of the function, because we are sure they exist. - remove the unnecessary goto in the return value check of the write Signed-off-by: Miao Xie Signed-off-by: Josef Bacik --- Reading git-diff-tree failed