diff options
author | Brian Behlendorf <[email protected]> | 2016-01-23 11:13:08 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-01-23 11:16:23 -0800 |
commit | 6b38e7510fbeb64785c7e042d8384f2141e9c557 (patch) | |
tree | a53e160df3d84b8a61338e2bdc6a3f5579dedf21 /module/spl | |
parent | be29e6a6e682123a009d20b2c5ab0b5393f43a8b (diff) |
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 <[email protected]>
Issue #513
Diffstat (limited to 'module/spl')
-rw-r--r-- | module/spl/spl-vnode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/module/spl/spl-vnode.c b/module/spl/spl-vnode.c index 86349c54a..80e4a0ffd 100644 --- a/module/spl/spl-vnode.c +++ b/module/spl/spl-vnode.c @@ -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; |