Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/fsck_lfs PR/51418: Jose Luis Rodriguez Garcia: Fix inco...
details: https://anonhg.NetBSD.org/src/rev/094c5faf1394
branches: trunk
changeset: 831436:094c5faf1394
user: christos <christos%NetBSD.org@localhost>
date: Fri Mar 30 12:56:46 2018 +0000
description:
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 915e4ee2e7e0 -r 094c5faf1394 sbin/fsck_lfs/bufcache.c
--- a/sbin/fsck_lfs/bufcache.c Fri Mar 30 10:01:36 2018 +0000
+++ b/sbin/fsck_lfs/bufcache.c Fri Mar 30 12:56:46 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.20 2018/03/30 12:56:46 christos 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 915e4ee2e7e0 -r 094c5faf1394 sbin/fsck_lfs/bufcache.h
--- a/sbin/fsck_lfs/bufcache.h Fri Mar 30 10:01:36 2018 +0000
+++ b/sbin/fsck_lfs/bufcache.h Fri Mar 30 12:56:46 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.14 2018/03/30 12:56:46 christos 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