Skip to content

Commit

Permalink
ufs: restore proper tail allocation
Browse files Browse the repository at this point in the history
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Jun 9, 2017
1 parent a8c3954 commit 8785d84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ufs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ ufs_inode_getfrag(struct inode *inode, unsigned index,
goal += uspi->s_fpb;
}
tmp = ufs_new_fragments(inode, p, ufs_blknum(new_fragment),
goal, uspi->s_fpb, err, locked_page);
goal, nfrags, err, locked_page);

if (!tmp) {
*err = -ENOSPC;
Expand Down

0 comments on commit 8785d84

Please sign in to comment.