diff --git a/sys/alpha/alpha/vm_machdep.c b/sys/alpha/alpha/vm_machdep.c index d15d87edf70a..a40ea11b4507 100644 --- a/sys/alpha/alpha/vm_machdep.c +++ b/sys/alpha/alpha/vm_machdep.c @@ -288,8 +288,7 @@ cpu_coredump(p, vp, cred) { return (vn_rdwr(UIO_WRITE, vp, (caddr_t) p->p_addr, ctob(UPAGES), - (off_t)0, UIO_SYSSPACE, IO_NODELOCKED|IO_UNIT, cred, (int *)NULL, - p)); + (off_t)0, UIO_SYSSPACE, IO_UNIT, cred, (int *)NULL, p)); } /* diff --git a/sys/amd64/amd64/vm_machdep.c b/sys/amd64/amd64/vm_machdep.c index 27c22303dbbf..4fc91dd5ea01 100644 --- a/sys/amd64/amd64/vm_machdep.c +++ b/sys/amd64/amd64/vm_machdep.c @@ -323,10 +323,8 @@ cpu_coredump(p, vp, cred) tempuser + ((caddr_t) p->p_frame - (caddr_t) p->p_addr), sizeof(struct trapframe)); - error = vn_rdwr(UIO_WRITE, vp, (caddr_t) tempuser, - ctob(UPAGES), - (off_t)0, UIO_SYSSPACE, IO_NODELOCKED|IO_UNIT, - cred, (int *)NULL, p); + error = vn_rdwr(UIO_WRITE, vp, (caddr_t) tempuser, ctob(UPAGES), + (off_t)0, UIO_SYSSPACE, IO_UNIT, cred, (int *)NULL, p); free(tempuser, M_TEMP); diff --git a/sys/i386/i386/vm_machdep.c b/sys/i386/i386/vm_machdep.c index 27c22303dbbf..4fc91dd5ea01 100644 --- a/sys/i386/i386/vm_machdep.c +++ b/sys/i386/i386/vm_machdep.c @@ -323,10 +323,8 @@ cpu_coredump(p, vp, cred) tempuser + ((caddr_t) p->p_frame - (caddr_t) p->p_addr), sizeof(struct trapframe)); - error = vn_rdwr(UIO_WRITE, vp, (caddr_t) tempuser, - ctob(UPAGES), - (off_t)0, UIO_SYSSPACE, IO_NODELOCKED|IO_UNIT, - cred, (int *)NULL, p); + error = vn_rdwr(UIO_WRITE, vp, (caddr_t) tempuser, ctob(UPAGES), + (off_t)0, UIO_SYSSPACE, IO_UNIT, cred, (int *)NULL, p); free(tempuser, M_TEMP); diff --git a/sys/ia64/ia64/vm_machdep.c b/sys/ia64/ia64/vm_machdep.c index 763a9e48519d..d7443a0604f0 100644 --- a/sys/ia64/ia64/vm_machdep.c +++ b/sys/ia64/ia64/vm_machdep.c @@ -331,8 +331,7 @@ cpu_coredump(p, vp, cred) { return (vn_rdwr(UIO_WRITE, vp, (caddr_t) p->p_addr, ctob(UPAGES), - (off_t)0, UIO_SYSSPACE, IO_NODELOCKED|IO_UNIT, cred, (int *)NULL, - p)); + (off_t)0, UIO_SYSSPACE, IO_UNIT, cred, (int *)NULL, p)); } /* diff --git a/sys/powerpc/aim/vm_machdep.c b/sys/powerpc/aim/vm_machdep.c index 15cf1388d056..e811fc891b50 100644 --- a/sys/powerpc/aim/vm_machdep.c +++ b/sys/powerpc/aim/vm_machdep.c @@ -204,8 +204,7 @@ cpu_coredump(p, vp, cred) { return (vn_rdwr(UIO_WRITE, vp, (caddr_t) p->p_addr, ctob(UPAGES), - (off_t)0, UIO_SYSSPACE, IO_NODELOCKED|IO_UNIT, cred, (int *)NULL, - p)); + (off_t)0, UIO_SYSSPACE, IO_UNIT, cred, (int *)NULL, p)); } /* diff --git a/sys/powerpc/powerpc/vm_machdep.c b/sys/powerpc/powerpc/vm_machdep.c index 15cf1388d056..e811fc891b50 100644 --- a/sys/powerpc/powerpc/vm_machdep.c +++ b/sys/powerpc/powerpc/vm_machdep.c @@ -204,8 +204,7 @@ cpu_coredump(p, vp, cred) { return (vn_rdwr(UIO_WRITE, vp, (caddr_t) p->p_addr, ctob(UPAGES), - (off_t)0, UIO_SYSSPACE, IO_NODELOCKED|IO_UNIT, cred, (int *)NULL, - p)); + (off_t)0, UIO_SYSSPACE, IO_UNIT, cred, (int *)NULL, p)); } /*