From 284cf3f18b5395e29e128702d50342d706813773 Mon Sep 17 00:00:00 2001 From: Mateusz Guzik Date: Sun, 30 May 2021 19:14:02 +0200 Subject: ext2: add missing uio_td initialization to ext2_htree_append_block Reported by: pho --- sys/fs/ext2fs/ext2_htree.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/fs/ext2fs/ext2_htree.c b/sys/fs/ext2fs/ext2_htree.c index 44120940236a..84f3d26d252a 100644 --- a/sys/fs/ext2fs/ext2_htree.c +++ b/sys/fs/ext2fs/ext2_htree.c @@ -439,6 +439,7 @@ ext2_htree_append_block(struct vnode *vp, char *data, auio.uio_iovcnt = 1; auio.uio_rw = UIO_WRITE; auio.uio_segflg = UIO_SYSSPACE; + auio.uio_td = NULL; error = VOP_WRITE(vp, &auio, IO_SYNC, cnp->cn_cred); if (!error) dp->i_size = newsize; -- cgit v1.2.3