mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-04 00:06:36 +00:00
ufs: restore proper tail allocation
Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
a8c39544a6
commit
8785d84d00
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue