Skip to content

Commit

Permalink
Remove RLIM64_INFINITY assert in vn_rdwr()
Browse files Browse the repository at this point in the history
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 openzfs#513
  • Loading branch information
behlendorf committed Jan 23, 2016
1 parent be29e6a commit 6b38e75
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion module/spl/spl-vnode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 6b38e75

Please sign in to comment.