smbfs_node.c (140223) | smbfs_node.c (140936) |
---|---|
1/*- 2 * Copyright (c) 2000-2001 Boris Popov 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 15 unchanged lines hidden (view full) --- 24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * | 1/*- 2 * Copyright (c) 2000-2001 Boris Popov 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 15 unchanged lines hidden (view full) --- 24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * |
32 * $FreeBSD: head/sys/fs/smbfs/smbfs_node.c 140223 2005-01-14 08:52:55Z phk $ | 32 * $FreeBSD: head/sys/fs/smbfs/smbfs_node.c 140936 2005-01-28 13:08:21Z phk $ |
33 */ 34#include <sys/param.h> 35#include <sys/systm.h> 36#include <sys/kdb.h> 37#include <sys/kernel.h> 38#include <sys/lock.h> 39#include <sys/malloc.h> 40#include <sys/mount.h> --- 332 unchanged lines hidden (view full) --- 373 np->n_dirseq = NULL; 374 } 375 } 376 np->n_flag &= ~NOPEN; 377 smbfs_attr_cacheremove(vp); 378 } 379 VOP_UNLOCK(vp, 0, td); 380 if (np->n_flag & NGONE) | 33 */ 34#include <sys/param.h> 35#include <sys/systm.h> 36#include <sys/kdb.h> 37#include <sys/kernel.h> 38#include <sys/lock.h> 39#include <sys/malloc.h> 40#include <sys/mount.h> --- 332 unchanged lines hidden (view full) --- 373 np->n_dirseq = NULL; 374 } 375 } 376 np->n_flag &= ~NOPEN; 377 smbfs_attr_cacheremove(vp); 378 } 379 VOP_UNLOCK(vp, 0, td); 380 if (np->n_flag & NGONE) |
381 vrecycle(vp, NULL, td); | 381 vrecycle(vp, td); |
382 return (0); 383} 384/* 385 * routines to maintain vnode attributes cache 386 * smbfs_attr_cacheenter: unpack np.i to vattr structure 387 */ 388void 389smbfs_attr_cacheenter(struct vnode *vp, struct smbfattr *fap) --- 54 unchanged lines hidden --- | 382 return (0); 383} 384/* 385 * routines to maintain vnode attributes cache 386 * smbfs_attr_cacheenter: unpack np.i to vattr structure 387 */ 388void 389smbfs_attr_cacheenter(struct vnode *vp, struct smbfattr *fap) --- 54 unchanged lines hidden --- |