Skip to content

Commit

Permalink
1898 Kernel assertion in zfs_putpage() raised by rfs_write()
Browse files Browse the repository at this point in the history
Reviewed by: Gordon Ross <[email protected]>
Reviewed by: Eric Schrock <[email protected]>
Approved by: Richard Lowe <[email protected]>
  • Loading branch information
dkruchinin committed Dec 29, 2011
1 parent 8fb237d commit eb8977c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion usr/src/uts/common/fs/zfs/zfs_vnops.c
Original file line number Diff line number Diff line change
Expand Up @@ -4197,7 +4197,6 @@ zfs_putpage(vnode_t *vp, offset_t off, size_t len, int flags, cred_t *cr,
* There's nothing to do if no data is cached.
*/
if (!vn_has_cached_data(vp)) {
ASSERT(len == 0);
ZFS_EXIT(zfsvfs);
return (0);
}
Expand Down

0 comments on commit eb8977c

Please sign in to comment.