HomeFreeBSD

Fix breakage caused by r292373 in ZFS/FUSE/NFS/SMBFS.

Description

Fix breakage caused by r292373 in ZFS/FUSE/NFS/SMBFS.

With the new VOP_GETPAGES() KPI the "count" argument counts pages already,
and doesn't need to be translated from bytes to pages.

While here make it consistent that *rbehind and *rahead are updated only
if we doesn't return error.

Pointy hat to: glebius

Details

Provenance
glebiusAuthored on
Parents
rS292385: Remove the unused systrace device file and fix style bugs.
Branches
Unknown
Tags
Unknown