Module Name:    src
Committed By:   pooka
Date:           Sun Oct 18 15:14:13 UTC 2009

Modified Files:
        src/usr.sbin/puffs/rump_smbfs: rump_smbfs.c

Log Message:
Use PUFFS_KFLAG_WTCACHE since it's sensible for a distributed file
server (plus it makes write work in the first place since the
descriptors don't get closed before the cache is flushed).


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/puffs/rump_smbfs/rump_smbfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/puffs/rump_smbfs/rump_smbfs.c
diff -u src/usr.sbin/puffs/rump_smbfs/rump_smbfs.c:1.1 src/usr.sbin/puffs/rump_smbfs/rump_smbfs.c:1.2
--- src/usr.sbin/puffs/rump_smbfs/rump_smbfs.c:1.1	Sun Sep  6 20:26:47 2009
+++ src/usr.sbin/puffs/rump_smbfs/rump_smbfs.c	Sun Oct 18 15:14:13 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: rump_smbfs.c,v 1.1 2009/09/06 20:26:47 pooka Exp $	*/
+/*	$NetBSD: rump_smbfs.c,v 1.2 2009/10/18 15:14:13 pooka Exp $	*/
 
 /*
  * Copyright (c) 2008 Antti Kantee.  All Rights Reserved.
@@ -62,7 +62,7 @@
 	    canon_dev, canon_dir);
 
 	rv = p2k_run_fs(MOUNT_SMBFS, canon_dev, canon_dir, mntflags, &args,
-	    sizeof(args), 0);
+	    sizeof(args), PUFFS_KFLAG_WTCACHE);
 	if (rv == -1)
 		err(1, "mount");
 

Reply via email to