]> granicus.if.org Git - spl/commitdiff
Remove RLIM64_INFINITY assert in vn_rdwr()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Sat, 23 Jan 2016 19:13:08 +0000 (11:13 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sat, 23 Jan 2016 19:16:23 +0000 (11:16 -0800)
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

module/spl/spl-vnode.c

index 86349c54aa512289f9c379fd25d510f337be1c6e..80e4a0ffdbc32a66a9b887774506fbf287268819 100644 (file)
@@ -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(seg == UIO_SYSSPACE);
        ASSERT((ioflag & ~FAPPEND) == 0);
-       ASSERT(x2 == RLIM64_INFINITY);
 
        fp = vp->v_file;