Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-8]: src/sbin/fsck_lfs Pull up following revision(s) (requested by...



details:   https://anonhg.NetBSD.org/src/rev/037f6f5d4a98
branches:  netbsd-8
changeset: 319727:037f6f5d4a98
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Jun 08 10:21:12 2018 +0000

description:
Pull up following revision(s) (requested by maya in ticket #855):

        sbin/fsck_lfs/bufcache.h: revision 1.14
        sbin/fsck_lfs/bufcache.c: revision 1.20

PR/51418: Jose Luis Rodriguez Garcia: Fix incore src/sbin/fsck_lfs/bufcache.c
XXX: pullup-8, pullup-7

diffstat:

 sbin/fsck_lfs/bufcache.c |  4 ++--
 sbin/fsck_lfs/bufcache.h |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 7aef36bcf17a -r 037f6f5d4a98 sbin/fsck_lfs/bufcache.c
--- a/sbin/fsck_lfs/bufcache.c  Fri Jun 08 10:18:36 2018 +0000
+++ b/sbin/fsck_lfs/bufcache.c  Fri Jun 08 10:21:12 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bufcache.c,v 1.19 2016/08/25 07:43:18 christos Exp $ */
+/* $NetBSD: bufcache.c,v 1.19.6.1 2018/06/08 10:21:12 martin Exp $ */
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -191,7 +191,7 @@
 
 /* Return a buffer if it is in the cache, otherwise return NULL. */
 struct ubuf *
-incore(struct uvnode * vp, int lbn)
+incore(struct uvnode * vp, daddr_t lbn)
 {
        struct ubuf *bp;
        int hash, depth;
diff -r 7aef36bcf17a -r 037f6f5d4a98 sbin/fsck_lfs/bufcache.h
--- a/sbin/fsck_lfs/bufcache.h  Fri Jun 08 10:18:36 2018 +0000
+++ b/sbin/fsck_lfs/bufcache.h  Fri Jun 08 10:21:12 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bufcache.h,v 1.13 2016/08/18 08:08:02 christos Exp $   */
+/*     $NetBSD: bufcache.h,v 1.13.6.1 2018/06/08 10:21:12 martin Exp $ */
 
 /*-
  * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -115,7 +115,7 @@
 void bufstats(void);
 void buf_destroy(struct ubuf *);
 void bremfree(struct ubuf *);
-struct ubuf *incore(struct uvnode *, int);
+struct ubuf *incore(struct uvnode *, daddr_t);
 struct ubuf *getblk(struct uvnode *, daddr_t, int);
 void bwrite(struct ubuf *);
 void brelse(struct ubuf *, int);



Home | Main Index | Thread Index | Old Index