Deleted Added
full compact
37c37
< * $Id: nfs_bio.c,v 1.38 1997/05/19 14:36:47 dfr Exp $
---
> * $Id: nfs_bio.c,v 1.39 1997/06/03 09:42:36 dfr Exp $
451c451,455
< n = min(uio->uio_resid, NFS_DIRBLKSIZ - bp->b_resid - on);
---
> /*
> * Make sure we use a signed variant of min() since
> * the second term may be negative.
> */
> n = lmin(uio->uio_resid, NFS_DIRBLKSIZ - bp->b_resid - on);