Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jul 2015 15:43:27 +0000 (UTC)
From:      Roger Pau Monné <royger@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r286077 - head/sys/kern
Message-ID:  <201507301543.t6UFhRoK099380@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: royger
Date: Thu Jul 30 15:43:26 2015
New Revision: 286077
URL: https://svnweb.freebsd.org/changeset/base/286077

Log:
  vfs: fill fallout from r286076
  
  This right operator is >= not =>.
  
  Reported by: cem

Modified:
  head/sys/kern/vfs_bio.c

Modified: head/sys/kern/vfs_bio.c
==============================================================================
--- head/sys/kern/vfs_bio.c	Thu Jul 30 15:28:06 2015	(r286076)
+++ head/sys/kern/vfs_bio.c	Thu Jul 30 15:43:26 2015	(r286077)
@@ -955,7 +955,7 @@ vfs_buf_check_mapped(struct buf *bp)
 	    ("mapped buf: b_kvabase was not updated %p", bp));
 	KASSERT(bp->b_data != unmapped_buf,
 	    ("mapped buf: b_data was not updated %p", bp));
-	KASSERT(bp->b_data < unmapped_buf || bp->b_data => unmapped_buf +
+	KASSERT(bp->b_data < unmapped_buf || bp->b_data >= unmapped_buf +
 	    MAXPHYS, ("b_data + b_offset unmapped %p", bp));
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507301543.t6UFhRoK099380>