diff options
Diffstat (limited to 'usr')
-rw-r--r-- | usr/src/uts/common/io/lofi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/lofi.c b/usr/src/uts/common/io/lofi.c index b881f2c8c2..e5f91f73aa 100644 --- a/usr/src/uts/common/io/lofi.c +++ b/usr/src/uts/common/io/lofi.c @@ -401,7 +401,7 @@ lofi_mapped_rdwr(caddr_t bufaddr, offset_t offset, struct buf *bp, * we won't need it again. Put it on the * head of the freelist. */ - if (mapoffset == 0 && xfersize == PAGESIZE) + if (mapoffset == 0 && xfersize == MAXBSIZE) smflags |= SM_DONTNEED; bcopy(mapaddr + mapoffset, bufaddr, xfersize); } else { |