Nikolay Borisov
c5794e5178
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 <nborisov@suse.com >
Signed-off-by: David Sterba <dsterba@suse.com >
2018-05-30 19:01:44 +02:00
..
2018-05-29 18:12:52 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:46 +02:00
2018-05-28 18:23:59 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:46 +02:00
2018-05-28 18:23:09 +02:00
2018-05-29 18:13:00 +02:00
2018-05-30 16:46:52 +02:00
2018-05-30 16:46:53 +02:00
2018-04-12 16:29:46 +02:00
2018-05-28 18:23:09 +02:00
2018-04-12 16:29:46 +02:00
2018-05-28 18:07:32 +02:00
2018-05-28 18:07:20 +02:00
2018-05-28 18:23:16 +02:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:51 +02:00
2018-05-30 16:46:43 +02:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:46 +02:00
2018-05-28 18:07:20 +02:00
2018-05-28 18:07:20 +02:00
2018-05-28 18:07:17 +02:00
2018-05-28 18:07:17 +02:00
2018-05-30 17:33:58 +02:00
2018-04-12 16:29:51 +02:00
2018-04-18 16:46:57 +02:00
2018-05-28 18:23:46 +02:00
2018-04-12 16:29:46 +02:00
2018-05-28 18:07:36 +02:00
2018-05-28 18:07:36 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:46 +02:00
2018-05-30 19:01:44 +02:00
2018-05-30 16:46:53 +02:00
2018-04-12 16:29:55 +02:00
2018-05-28 18:23:09 +02:00
2018-04-12 16:29:46 +02:00
2018-05-30 16:46:43 +02:00
2018-03-26 15:09:39 +02:00
2018-04-12 16:29:46 +02:00
2018-05-28 18:23:09 +02:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:51 +02:00
2018-05-28 18:07:26 +02:00
2018-04-20 19:18:16 +02:00
2018-05-17 14:18:25 +02:00
2018-04-12 16:29:46 +02:00
2018-05-30 16:46:43 +02:00
2018-04-12 16:29:46 +02:00
2018-05-30 17:15:43 +02:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:46 +02:00
2018-05-28 18:24:11 +02:00
2018-04-12 16:29:51 +02:00
2018-05-28 18:07:28 +02:00
2018-05-28 18:07:32 +02:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:51 +02:00
2018-05-28 18:24:13 +02:00
2018-05-28 18:23:41 +02:00
2018-05-28 18:23:39 +02:00
2018-05-30 16:46:52 +02:00
2018-05-30 16:46:54 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:51 +02:00
2018-05-28 18:23:09 +02:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:46 +02:00
2018-05-30 16:46:53 +02:00
2018-05-30 16:46:52 +02:00
2018-05-28 18:07:30 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:51 +02:00