commit | 826aa0a82c5b9d2c8016c02b552e8f82f5b1e660 | [log] [tgz] |
---|---|---|
author | Miao Xie <miaox@cn.fujitsu.com> | Thu Jun 27 18:50:59 2013 +0800 |
committer | Josef Bacik <jbacik@fusionio.com> | Tue Jul 02 11:50:56 2013 -0400 |
tree | abab9acde3b519854bcf47becb02df64546bc5dd | |
parent | 26b258919006fc2d76a50b8247d7dea73207b583 [diff] |
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 <miaox@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com>