Skip to content

Commit

Permalink
ufs_extend_tail(): fix the braino in calling conventions of ufs_new_f…
Browse files Browse the repository at this point in the history
…ragments()

... and it really needs splitting into "new" and "extend" cases, but that's for
later

Cc: [email protected]
Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed Jun 9, 2017
1 parent 6b0d144 commit 940ef1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fs/ufs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@ ufs_extend_tail(struct inode *inode, u64 writes_to,

p = ufs_get_direct_data_ptr(uspi, ufsi, block);
tmp = ufs_new_fragments(inode, p, lastfrag, ufs_data_ptr_to_cpu(sb, p),
new_size, err, locked_page);
new_size - (lastfrag & uspi->s_fpbmask), err,
locked_page);
return tmp != 0;
}

Expand Down

0 comments on commit 940ef1a

Please sign in to comment.