Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpvfs optimize for size a.k.a. operation ...
details: https://anonhg.NetBSD.org/src/rev/1b670254cc4f
branches: trunk
changeset: 343406:1b670254cc4f
user: pooka <pooka%NetBSD.org@localhost>
date: Tue Feb 02 13:02:34 2016 +0000
description:
optimize for size a.k.a. operation nuke trailing spaces
diffstat:
sys/rump/librump/rumpvfs/rumpfs.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r bbf18fb202d0 -r 1b670254cc4f sys/rump/librump/rumpvfs/rumpfs.c
--- a/sys/rump/librump/rumpvfs/rumpfs.c Tue Feb 02 12:25:24 2016 +0000
+++ b/sys/rump/librump/rumpvfs/rumpfs.c Tue Feb 02 13:02:34 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpfs.c,v 1.137 2016/02/02 12:22:23 pooka Exp $ */
+/* $NetBSD: rumpfs.c,v 1.138 2016/02/02 13:02:34 pooka Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rumpfs.c,v 1.137 2016/02/02 12:22:23 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rumpfs.c,v 1.138 2016/02/02 13:02:34 pooka Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -937,7 +937,7 @@
memcpy(newdata, rn->rn_data, copylen);
if ((rn->rn_flags & RUMPNODE_EXTSTORAGE) == 0) {
- rump_hyperfree(rn->rn_data, rn->rn_dlen);
+ rump_hyperfree(rn->rn_data, rn->rn_dlen);
} else {
rn->rn_flags &= ~RUMPNODE_EXTSTORAGE;
}
@@ -1739,7 +1739,7 @@
KASSERT(cmd == RUMPFS_FCNTL_EXTSTORAGE_ADD);
if (rn->rn_data && (rn->rn_flags & RUMPNODE_EXTSTORAGE) == 0) {
- rump_hyperfree(rn->rn_data, rn->rn_dlen);
+ rump_hyperfree(rn->rn_data, rn->rn_dlen);
}
rn->rn_data = rfse->rfse_data;
Home |
Main Index |
Thread Index |
Old Index