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/51422: Jose Luis Rodriguez Garcia: Remove u...



details:   https://anonhg.NetBSD.org/src/rev/3f4260b94104
branches:  trunk
changeset: 347208:3f4260b94104
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Aug 18 08:04:28 2016 +0000

description:
PR/51422: Jose Luis Rodriguez Garcia: Remove unnecessary assignment.

diffstat:

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

diffs (17 lines):

diff -r 0bed1ae05372 -r 3f4260b94104 sbin/fsck_lfs/bufcache.c
--- a/sbin/fsck_lfs/bufcache.c  Thu Aug 18 08:02:58 2016 +0000
+++ b/sbin/fsck_lfs/bufcache.c  Thu Aug 18 08:04:28 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bufcache.c,v 1.16 2016/07/31 18:27:26 dholland Exp $ */
+/* $NetBSD: bufcache.c,v 1.17 2016/08/18 08:04:28 christos Exp $ */
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -155,7 +155,6 @@
 void
 buf_destroy(struct ubuf * bp)
 {
-       bp->b_flags |= B_NEEDCOMMIT;
        LIST_REMOVE(bp, b_vnbufs);
        LIST_REMOVE(bp, b_hash);
        if (!(bp->b_flags & B_DONTFREE))



Home | Main Index | Thread Index | Old Index