diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-11-08 10:18:06 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-12-17 14:51:32 +0100 |
commit | 7789a55aa1c98e3408a77167699f86fdb79f097b (patch) | |
tree | 913ca5e354fe000997219acbdeb63b639979173e /fs/btrfs/dev-replace.c | |
parent | fc8a168aa9ab1680c2bd52bf9db7c994e0f2524f (diff) | |
download | linux-7789a55aa1c98e3408a77167699f86fdb79f097b.tar.gz linux-7789a55aa1c98e3408a77167699f86fdb79f097b.tar.bz2 linux-7789a55aa1c98e3408a77167699f86fdb79f097b.zip |
btrfs: Move epd::extent_locked check to writepage_delalloc's caller
If epd::extent_locked is set then writepage_delalloc terminates. Make
this a bit more apparent in the caller by simply bubbling the check up.
This enables to remove epd as an argument to writepage_delalloc in a
future patch. No functional change.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions