Module Name: src Committed By: pooka Date: Tue Feb 2 13:02:34 UTC 2016
Modified Files: src/sys/rump/librump/rumpvfs: rumpfs.c Log Message: optimize for size a.k.a. operation nuke trailing spaces To generate a diff of this commit: cvs rdiff -u -r1.137 -r1.138 src/sys/rump/librump/rumpvfs/rumpfs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/rump/librump/rumpvfs/rumpfs.c diff -u src/sys/rump/librump/rumpvfs/rumpfs.c:1.137 src/sys/rump/librump/rumpvfs/rumpfs.c:1.138 --- src/sys/rump/librump/rumpvfs/rumpfs.c:1.137 Tue Feb 2 12:22:23 2016 +++ src/sys/rump/librump/rumpvfs/rumpfs.c Tue Feb 2 13:02:34 2016 @@ -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 @@ rump_vop_setattr(void *v) 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 @@ rump_vop_fcntl(void *v) 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;