From cab936b8b5f7316ef7e204b27188ad7bdd4292e7 Mon Sep 17 00:00:00 2001 From: Jorgen Lundman Date: Thu, 16 Nov 2023 14:41:21 +0900 Subject: [PATCH] Cleanup znode_alloc_node() changes No changes needed Signed-off-by: Jorgen Lundman --- module/os/windows/zfs/zfs_znode.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/module/os/windows/zfs/zfs_znode.c b/module/os/windows/zfs/zfs_znode.c index f501b3ac162d..eff94188fffb 100644 --- a/module/os/windows/zfs/zfs_znode.c +++ b/module/os/windows/zfs/zfs_znode.c @@ -624,9 +624,6 @@ zfs_znode_alloc(zfsvfs_t *zfsvfs, dmu_buf_t *db, int blksz, zp->z_zfsvfs = zfsvfs; mutex_exit(&zfsvfs->z_znodes_lock); - if (zp->z_blksz == 0) - zp->z_blksz = zfs_blksz(zp); - return (zp); }