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 Report f_iosize as 512. Some calle...
details: https://anonhg.NetBSD.org/src/rev/0ce1807c7ab9
branches: trunk
changeset: 753859:0ce1807c7ab9
user: pooka <pooka%NetBSD.org@localhost>
date: Mon Apr 12 21:37:44 2010 +0000
description:
Report f_iosize as 512. Some callers want it, and we can only
guess a safe default here (because of etfs).
diffstat:
sys/rump/librump/rumpvfs/rumpfs.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 9ebd5f0f8090 -r 0ce1807c7ab9 sys/rump/librump/rumpvfs/rumpfs.c
--- a/sys/rump/librump/rumpvfs/rumpfs.c Mon Apr 12 21:28:55 2010 +0000
+++ b/sys/rump/librump/rumpvfs/rumpfs.c Mon Apr 12 21:37:44 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpfs.c,v 1.37 2010/03/01 13:03:30 pooka Exp $ */
+/* $NetBSD: rumpfs.c,v 1.38 2010/04/12 21:37:44 pooka Exp $ */
/*
* Copyright (c) 2009 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rumpfs.c,v 1.37 2010/03/01 13:03:30 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rumpfs.c,v 1.38 2010/04/12 21:37:44 pooka Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -893,6 +893,7 @@
mp->mnt_data = rfsmp;
mp->mnt_stat.f_namemax = MAXNAMLEN;
+ mp->mnt_stat.f_iosize = 512;
mp->mnt_flag |= MNT_LOCAL;
vfs_getnewfsid(mp);
Home |
Main Index |
Thread Index |
Old Index