mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-07 10:29:52 +00:00
ufs_extend_tail(): fix the braino in calling conventions of ufs_new_fragments()
commit 940ef1a0ed upstream.
... and it really needs splitting into "new" and "extend" cases, but that's for
later
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
728154e963
commit
c12c0c4ff5
@@ -235,7 +235,8 @@ ufs_extend_tail(struct inode *inode, u64 writes_to,
|
|||||||
|
|
||||||
p = ufs_get_direct_data_ptr(uspi, ufsi, block);
|
p = ufs_get_direct_data_ptr(uspi, ufsi, block);
|
||||||
tmp = ufs_new_fragments(inode, p, lastfrag, ufs_data_ptr_to_cpu(sb, p),
|
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;
|
return tmp != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user