aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorNikolay Borisov <[email protected]>2018-05-02 15:19:33 +0300
committerDavid Sterba <[email protected]>2018-05-30 19:01:44 +0200
commitc5794e51784a0a96dd82e8f955570a7eccf27e5d (patch)
tree4415984aa73ae253d024fe7a52eb4cbc85e33448 /lib/string_helpers.c
parent1c8d0175df47364aa55c568b65ed7a3aee5b9a6d (diff)
btrfs: Factor out write portion of btrfs_get_blocks_direct
Now that the read side is extracted into its own function, do the same to the write side. This leaves btrfs_get_blocks_direct_write with the sole purpose of handling common locking required. Also flip the condition in btrfs_get_blocks_direct_write so that the write case comes first and we check for if (Create) rather than if (!create). This is purely subjective but I believe makes reading a bit more "linear". No functional changes. Signed-off-by: Nikolay Borisov <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions