summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/struct-funcs.c
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2013-06-27 18:50:59 +0800
committerJosef Bacik <jbacik@fusionio.com>2013-07-02 11:50:56 -0400
commit826aa0a82c5b9d2c8016c02b552e8f82f5b1e660 (patch)
treeabab9acde3b519854bcf47becb02df64546bc5dd /fs/btrfs/struct-funcs.c
parent26b258919006fc2d76a50b8247d7dea73207b583 (diff)
downloadlinux-826aa0a82c5b9d2c8016c02b552e8f82f5b1e660.tar.gz
linux-826aa0a82c5b9d2c8016c02b552e8f82f5b1e660.tar.bz2
linux-826aa0a82c5b9d2c8016c02b552e8f82f5b1e660.zip
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>
Diffstat (limited to 'fs/btrfs/struct-funcs.c')
0 files changed, 0 insertions, 0 deletions