Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Linux-5.1/fs/winefs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,8 @@ static int pmfs_increase_btree_height(struct super_block *sb,
if (errval < 0) {
pmfs_err(sb, "failed to increase btree height\n");
break;
} else {
errval = 0;
}
blocknr = pmfs_get_block_off(sb, blocknr, PMFS_BLOCK_TYPE_4K);
root = pmfs_get_block(sb, blocknr);
Expand All @@ -731,7 +733,7 @@ static int pmfs_increase_btree_height(struct super_block *sb,
pi->root = prev_root;
pi->height = height;
pmfs_memlock_inode(sb, pi);
return 0;
return errval;
}

/* recursive_alloc_blocks: recursively allocate a range of blocks from
Expand Down