diff options
| author | Alan Cox <alc@FreeBSD.org> | 2003-04-06 19:26:30 +0000 |
|---|---|---|
| committer | Alan Cox <alc@FreeBSD.org> | 2003-04-06 19:26:30 +0000 |
| commit | 6134838f99ab984edcc21f7c88d2317de4792e88 (patch) | |
| tree | 10a02943ba51af175d86174396407b2d38cfd024 | |
| parent | e0b29225ea27f787c71fa375d4d2101e77031255 (diff) | |
Notes
| -rw-r--r-- | sys/ufs/ffs/ffs_rawread.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/ufs/ffs/ffs_rawread.c b/sys/ufs/ffs/ffs_rawread.c index ccf80ae74cb0..3b8912928116 100644 --- a/sys/ufs/ffs/ffs_rawread.c +++ b/sys/ufs/ffs/ffs_rawread.c @@ -210,9 +210,6 @@ ffs_rawread_readahead(struct vnode *vp, } bp->b_lblkno = bp->b_blkno = blockno; - if (!useracc(bp->b_data, bp->b_bcount, VM_PROT_WRITE)) { - return EFAULT; - } error = VOP_BMAP(vp, bp->b_lblkno, &dp, &bp->b_blkno, &bforwards, NULL); @@ -298,7 +295,6 @@ ffs_rawread_main(struct vnode *vp, bp = getpbuf(&ffsrawbufcnt); sa = bp->b_data; bp->b_vp = vp; - bp->b_error = 0; error = ffs_rawread_readahead(vp, udata, offset, resid, td, bp, sa); if (error != 0) @@ -313,7 +309,6 @@ ffs_rawread_main(struct vnode *vp, if (nbp != NULL) { nsa = nbp->b_data; nbp->b_vp = vp; - nbp->b_error = 0; nerror = ffs_rawread_readahead(vp, udata + |
