commit | 2eadaa22c17ac3c546850f70d9d20fa19459dbce | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@toxicpanda.com> | Fri Sep 29 15:43:52 2017 -0400 |
committer | David Sterba <dsterba@suse.com> | Mon Oct 30 12:28:00 2017 +0100 |
tree | 9b5751d5d4b6f7c49316372e86f28b1a1daad9b6 | |
parent | 7c777430e855898461d54efd14b3942c763ee8de [diff] |
btrfs: add a helper to return a head ref Simplify the error handling in __btrfs_run_delayed_refs by breaking out the code used to return a head back to the delayed_refs tree for processing into a helper function. Signed-off-by: Josef Bacik <jbacik@fb.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>