mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Remove redundant oid parameter to update_pages
The oid comes from the znode we are already passing. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Matt Macy <mmacy@FreeBSD.org> Reviewed-by: Alexander Motin <mav@FreeBSD.org> Signed-off-by: Ryan Moeller <ryan@iXsystems.com> Closes #11176
This commit is contained in:
committed by
Brian Behlendorf
parent
eec6646ea9
commit
8a9634e2f3
@@ -581,8 +581,7 @@ zfs_write(znode_t *zp, uio_t *uio, int ioflag, cred_t *cr)
|
||||
}
|
||||
if (tx_bytes && zn_has_cached_data(zp) &&
|
||||
!(ioflag & O_DIRECT)) {
|
||||
update_pages(zp, woff,
|
||||
tx_bytes, zfsvfs->z_os, zp->z_id);
|
||||
update_pages(zp, woff, tx_bytes, zfsvfs->z_os);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user