Module Name: src
Committed By: christos
Date: Thu Aug 18 08:04:28 UTC 2016
Modified Files:
src/sbin/fsck_lfs: bufcache.c
Log Message:
PR/51422: Jose Luis Rodriguez Garcia: Remove unnecessary assignment.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sbin/fsck_lfs/bufcache.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/fsck_lfs/bufcache.c
diff -u src/sbin/fsck_lfs/bufcache.c:1.16 src/sbin/fsck_lfs/bufcache.c:1.17
--- src/sbin/fsck_lfs/bufcache.c:1.16 Sun Jul 31 14:27:26 2016
+++ src/sbin/fsck_lfs/bufcache.c Thu Aug 18 04:04:28 2016
@@ -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 @@ bufstats(void)
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))