git: 284cf3f18b53 - main - ext2: add missing uio_td initialization to ext2_htree_append_block
Mateusz Guzik
mjg at FreeBSD.org
Sun May 30 17:19:58 UTC 2021
The branch main has been updated by mjg:
URL: https://cgit.FreeBSD.org/src/commit/?id=284cf3f18b5395e29e128702d50342d706813773
commit 284cf3f18b5395e29e128702d50342d706813773
Author: Mateusz Guzik <mjg at FreeBSD.org>
AuthorDate: 2021-05-30 17:14:02 +0000
Commit: Mateusz Guzik <mjg at FreeBSD.org>
CommitDate: 2021-05-30 17:19:31 +0000
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;
More information about the dev-commits-src-main
mailing list