The branch main has been updated by mjg:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=284cf3f18b5395e29e128702d50342d706813773

commit 284cf3f18b5395e29e128702d50342d706813773
Author:     Mateusz Guzik <[email protected]>
AuthorDate: 2021-05-30 17:14:02 +0000
Commit:     Mateusz Guzik <[email protected]>
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;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to