diff options
| author | 2016-07-08 17:27:47 +0200 | |
|---|---|---|
| committer | 2016-07-08 17:27:47 +0200 | |
| commit | 9e7f7f5425e6d1492109a537ee88c99b29580655 (patch) | |
| tree | 81f9d68abb5b793aadaf80bd6940af04e3c16eb9 /fs/btrfs/tree-log.c | |
| parent | x86/KASLR: Fix boot crash with certain memory configurations (diff) | |
| parent | selftests/x86: Add vDSO mremap() test (diff) | |
| download | linux-dev-9e7f7f5425e6d1492109a537ee88c99b29580655.tar.xz linux-dev-9e7f7f5425e6d1492109a537ee88c99b29580655.zip | |
Merge branch 'x86/mm' into x86/boot, to pick up dependencies
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/btrfs/tree-log.c')
| -rw-r--r-- | fs/btrfs/tree-log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c index b7665af471d8..c05f69a8ec42 100644 --- a/fs/btrfs/tree-log.c +++ b/fs/btrfs/tree-log.c @@ -2422,8 +2422,8 @@ static noinline int walk_down_log_tree(struct btrfs_trans_handle *trans, root_owner = btrfs_header_owner(parent); next = btrfs_find_create_tree_block(root, bytenr); - if (!next) - return -ENOMEM; + if (IS_ERR(next)) + return PTR_ERR(next); if (*level == 1) { ret = wc->process_func(root, next, wc, ptr_gen); |
