diff options
author | Jeff Mahoney <jeffm@suse.com> | 2011-10-03 23:23:12 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2012-03-22 01:45:33 +0100 |
commit | 0417341e6bd93e2a2ceac0e57409706803b335e5 (patch) | |
tree | 718f160e8b4edaa31d1747b6996fc60623903227 /ipc | |
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>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions