Source-Changes-HG archive

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

[src/trunk]: src/sys/fs/smbfs remove the XXX comment about holes again - it a...



details:   https://anonhg.NetBSD.org/src/rev/46baccb695f5
branches:  trunk
changeset: 543443:46baccb695f5
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Tue Feb 25 10:14:29 2003 +0000

description:
remove the XXX comment about holes again - it appears to work fine

diffstat:

 sys/fs/smbfs/smbfs_io.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r ca49d7f1c2d7 -r 46baccb695f5 sys/fs/smbfs/smbfs_io.c
--- a/sys/fs/smbfs/smbfs_io.c   Tue Feb 25 10:08:44 2003 +0000
+++ b/sys/fs/smbfs/smbfs_io.c   Tue Feb 25 10:14:29 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: smbfs_io.c,v 1.10 2003/02/25 09:09:31 jdolecek Exp $   */
+/*     $NetBSD: smbfs_io.c,v 1.11 2003/02/25 10:14:29 jdolecek Exp $   */
 
 /*
  * Copyright (c) 2000-2001, Boris Popov
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: smbfs_io.c,v 1.10 2003/02/25 09:09:31 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: smbfs_io.c,v 1.11 2003/02/25 10:14:29 jdolecek Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -275,7 +275,6 @@
                psignal(p, SIGXFSZ);
                return EFBIG;
        }
-       /* XXX need to DTRT with holes (lseek() + write) */
        smb_makescred(&scred, p, cred);
        error = smb_write(smp->sm_share, np->n_fid, uiop, &scred);
        SMBVDEBUG("after: ofs=%d,resid=%d\n",(int)uiop->uio_offset, uiop->uio_resid);



Home | Main Index | Thread Index | Old Index