ext2: add missing uio_td initialization to ext2_htree_append_block
Reported by: pho
This commit is contained in:
parent
b03a41befe
commit
284cf3f18b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user