Source-Changes-HG archive

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

[src/trunk]: src/sys/fs/smbfs enable mmap and seek vnode ops - this makes mma...



details:   https://anonhg.NetBSD.org/src/rev/dd5fd92f67ad
branches:  trunk
changeset: 543413:dd5fd92f67ad
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Mon Feb 24 19:09:02 2003 +0000

description:
enable mmap and seek vnode ops - this makes mmap(2), lseek(2),
p{read,write}{,v}(2) work

diffstat:

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

diffs (18 lines):

diff -r 7fec06b4fd34 -r dd5fd92f67ad sys/fs/smbfs/smbfs_vnops.c
--- a/sys/fs/smbfs/smbfs_vnops.c        Mon Feb 24 18:59:26 2003 +0000
+++ b/sys/fs/smbfs/smbfs_vnops.c        Mon Feb 24 19:09:02 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: smbfs_vnops.c,v 1.12 2003/02/24 16:19:05 jdolecek Exp $        */
+/*     $NetBSD: smbfs_vnops.c,v 1.13 2003/02/24 19:09:02 jdolecek Exp $        */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -154,6 +154,8 @@
        { &vop_symlink_desc,            smbfs_symlink },
        { &vop_unlock_desc,             genfs_unlock },
        { &vop_write_desc,              smbfs_write },
+       { &vop_mmap_desc,               genfs_mmap },           /* mmap */
+       { &vop_seek_desc,               genfs_seek },           /* seek */
        { NULL, NULL }
 };
 const struct vnodeopv_desc smbfs_vnodeop_opv_desc =



Home | Main Index | Thread Index | Old Index