mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +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
b3d723fb0e
commit
86e74dc162
@@ -489,8 +489,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