]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: cleanup error handling in extent_write_cached_pages
authorLiu Bo <bo.li.liu@oracle.com>
Tue, 8 Mar 2016 00:56:22 +0000 (16:56 -0800)
committerDavid Sterba <dsterba@suse.com>
Thu, 28 Apr 2016 08:41:47 +0000 (10:41 +0200)
commit9aa8690183638e24d77bd17b8ae1fc331f66b6ce
treebbd83cc8e4060aa0d20775924f1fbb07d427072e
parent6a4536db2804550ea5dd974e496acebb442bb9d7
Btrfs: cleanup error handling in extent_write_cached_pages

Now that we bail out immediately if ->writepage() returns an error,
we don't need an extra error to retain the error code.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c