commit | 0417341e6bd93e2a2ceac0e57409706803b335e5 | [log] [tgz] |
---|---|---|
author | Jeff Mahoney <jeffm@suse.com> | Mon Oct 03 23:23:12 2011 -0400 |
committer | David Sterba <dsterba@suse.cz> | Thu Mar 22 01:45:33 2012 +0100 |
tree | 718f160e8b4edaa31d1747b6996fc60623903227 | |
parent | b45a9d8b48e5ce534bd222007c43cbf374544f0b [diff] |
btrfs: Simplify btrfs_submit_bio_hook btrfs_submit_bio_hook currently calls btrfs_bio_wq_end_io in either case of an if statement that determines one of the arguments. This patch moves the function call outside of the if statement and uses it to only determine the different argument. This allows us to catch an error in one place in a more visually obvious way. Signed-off-by: Jeff Mahoney <jeffm@suse.com>