Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/fs/smbfs fix fragment size.



details:   https://anonhg.NetBSD.org/src/rev/c90a2d980262
branches:  trunk
changeset: 566055:c90a2d980262
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Apr 26 17:08:45 2004 +0000

description:
fix fragment size.

diffstat:

 sys/fs/smbfs/smbfs_smb.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r e0e2344b5d79 -r c90a2d980262 sys/fs/smbfs/smbfs_smb.c
--- a/sys/fs/smbfs/smbfs_smb.c  Mon Apr 26 17:08:34 2004 +0000
+++ b/sys/fs/smbfs/smbfs_smb.c  Mon Apr 26 17:08:45 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: smbfs_smb.c,v 1.20 2004/04/21 01:05:38 christos Exp $  */
+/*     $NetBSD: smbfs_smb.c,v 1.21 2004/04/26 17:08:45 christos Exp $  */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: smbfs_smb.c,v 1.20 2004/04/21 01:05:38 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: smbfs_smb.c,v 1.21 2004/04/26 17:08:45 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -213,7 +213,7 @@
        md_get_uint32le(mdp, &funits);
        md_get_uint16le(mdp, &bsize);
        sbp->f_bsize = bpu * bsize;     /* fundamental file system block size */
-       sbp->f_frsize = bpu;            /* fundamental file system frag size */
+       sbp->f_frsize = bsize;          /* fundamental file system frag size */
        sbp->f_iosize = bsize;          /* I/O size */
        sbp->f_blocks= units;           /* total data blocks in file system */
        sbp->f_bfree = funits;          /* free blocks in fs */
@@ -254,7 +254,7 @@
        md_get_uint16le(mdp, &bsize);
        md_get_uint16le(mdp, &funits);
        sbp->f_bsize = bpu * bsize;     /* fundamental file system block size */
-       sbp->f_frsize = bpu;            /* fundamental file system frag size */
+       sbp->f_frsize = bsize;          /* fundamental file system frag size */
        sbp->f_iosize = bsize;          /* I/O size */
        sbp->f_blocks= units;           /* total data blocks in file system */
        sbp->f_bfree = funits;          /* free blocks in fs */



Home | Main Index | Thread Index | Old Index