smbfs_node.c (120775) | smbfs_node.c (124115) |
---|---|
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 120775 2003-10-05 02:43:30Z jeff $ | 32 * $FreeBSD: head/sys/fs/smbfs/smbfs_node.c 124115 2004-01-04 00:57:22Z tjr $ |
33 */ 34#include <sys/param.h> 35#include <sys/systm.h> 36#include <sys/kernel.h> 37#include <sys/lock.h> 38#include <sys/malloc.h> 39#include <sys/mount.h> 40#include <sys/proc.h> --- 312 unchanged lines hidden (view full) --- 353 &np->n_mtime, &scred); 354 } else if (vp->v_type == VDIR) { 355 if (np->n_dirseq != NULL) { 356 smbfs_findclose(np->n_dirseq, &scred); 357 np->n_dirseq = NULL; 358 } 359 } 360 np->n_flag &= ~NOPEN; | 33 */ 34#include <sys/param.h> 35#include <sys/systm.h> 36#include <sys/kernel.h> 37#include <sys/lock.h> 38#include <sys/malloc.h> 39#include <sys/mount.h> 40#include <sys/proc.h> --- 312 unchanged lines hidden (view full) --- 353 &np->n_mtime, &scred); 354 } else if (vp->v_type == VDIR) { 355 if (np->n_dirseq != NULL) { 356 smbfs_findclose(np->n_dirseq, &scred); 357 np->n_dirseq = NULL; 358 } 359 } 360 np->n_flag &= ~NOPEN; |
361 smbfs_attr_cacheremove(vp); |
|
361 } | 362 } |
362 smbfs_attr_cacheremove(vp); | |
363 VOP_UNLOCK(vp, 0, td); 364 return (0); 365} 366/* 367 * routines to maintain vnode attributes cache 368 * smbfs_attr_cacheenter: unpack np.i to vattr structure 369 */ 370void --- 55 unchanged lines hidden --- | 363 VOP_UNLOCK(vp, 0, td); 364 return (0); 365} 366/* 367 * routines to maintain vnode attributes cache 368 * smbfs_attr_cacheenter: unpack np.i to vattr structure 369 */ 370void --- 55 unchanged lines hidden --- |