mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 19:19:32 +03:00
Remove RLIM64_INFINITY assert in vn_rdwr()
Previous commit be29e6a
updated kobj_read_file() so it no longer
unconditionally passes RLIM64_INFINITY. The vn_rdwr() function
needs to be updated accordingly.
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #513
This commit is contained in:
parent
be29e6a6e6
commit
6b38e7510f
@ -222,7 +222,6 @@ vn_rdwr(uio_rw_t uio, vnode_t *vp, void *addr, ssize_t len, offset_t off,
|
|||||||
ASSERT(vp->v_file);
|
ASSERT(vp->v_file);
|
||||||
ASSERT(seg == UIO_SYSSPACE);
|
ASSERT(seg == UIO_SYSSPACE);
|
||||||
ASSERT((ioflag & ~FAPPEND) == 0);
|
ASSERT((ioflag & ~FAPPEND) == 0);
|
||||||
ASSERT(x2 == RLIM64_INFINITY);
|
|
||||||
|
|
||||||
fp = vp->v_file;
|
fp = vp->v_file;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user