Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/smbfs add nfs-style n_ctime, n_nctime
details: https://anonhg.NetBSD.org/src/rev/c27ecc71e73d
branches: trunk
changeset: 543182:c27ecc71e73d
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Tue Feb 18 20:09:01 2003 +0000
description:
add nfs-style n_ctime, n_nctime
#ifdef smbfs_getpages(), smbfs_putpages() - it's not used on NetBSD
diffstat:
sys/fs/smbfs/smbfs_node.h | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r 2e28bd5c12b8 -r c27ecc71e73d sys/fs/smbfs/smbfs_node.h
--- a/sys/fs/smbfs/smbfs_node.h Tue Feb 18 20:07:50 2003 +0000
+++ b/sys/fs/smbfs/smbfs_node.h Tue Feb 18 20:09:01 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: smbfs_node.h,v 1.3 2003/02/16 19:42:21 jdolecek Exp $ */
+/* $NetBSD: smbfs_node.h,v 1.4 2003/02/18 20:09:01 jdolecek Exp $ */
/*
* Copyright (c) 2000-2001, Boris Popov
@@ -53,7 +53,8 @@
struct vnode * n_vnode;
struct smbmount * n_mount;
time_t n_attrage; /* attributes cache time */
-/* time_t n_ctime;*/
+ time_t n_ctime; /* Prev create time. */
+ time_t n_nctime; /* last neg cache entry (dir) */
struct timespec n_mtime; /* modify time */
struct timespec n_atime; /* last access time */
u_quad_t n_size;
@@ -87,8 +88,10 @@
struct smbfattr *fap, struct vnode **vpp);
u_int32_t smbfs_hash(const u_char *name, int nmlen);
+#ifndef __NetBSD__
int smbfs_getpages(void *);
int smbfs_putpages(void *);
+#endif
int smbfs_readvnode(struct vnode *vp, struct uio *uiop, struct ucred *cred);
int smbfs_writevnode(struct vnode *vp, struct uio *uiop, struct ucred *cred, int ioflag);
void smbfs_attr_cacheenter(struct vnode *vp, struct smbfattr *fap);
Home |
Main Index |
Thread Index |
Old Index