smbfs_node.h (75374) | smbfs_node.h (103533) |
---|---|
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.h 75374 2001-04-10 07:59:06Z bp $ | 32 * $FreeBSD: head/sys/fs/smbfs/smbfs_node.h 103533 2002-09-18 09:27:04Z bp $ |
33 */ 34#ifndef _FS_SMBFS_NODE_H_ 35#define _FS_SMBFS_NODE_H_ 36 37#define SMBFS_ROOT_INO 2 /* just like in UFS */ 38 39/* Bits for smbnode.n_flag */ 40#define NFLUSHINPROG 0x0001 41#define NFLUSHWANT 0x0002 /* they should gone ... */ 42#define NMODIFIED 0x0004 /* bogus, until async IO implemented */ 43/*efine NNEW 0x0008*//* smb/vnode has been allocated */ 44#define NREFPARENT 0x0010 /* node holds parent from recycling */ | 33 */ 34#ifndef _FS_SMBFS_NODE_H_ 35#define _FS_SMBFS_NODE_H_ 36 37#define SMBFS_ROOT_INO 2 /* just like in UFS */ 38 39/* Bits for smbnode.n_flag */ 40#define NFLUSHINPROG 0x0001 41#define NFLUSHWANT 0x0002 /* they should gone ... */ 42#define NMODIFIED 0x0004 /* bogus, until async IO implemented */ 43/*efine NNEW 0x0008*//* smb/vnode has been allocated */ 44#define NREFPARENT 0x0010 /* node holds parent from recycling */ |
45#define NFLUSHWIRE 0x1000 /* pending flush request */ |
|
45 46struct smbfs_fctx; 47 48struct smbnode { 49#ifndef FB_CURRENT 50 struct lock n_lock; /* smbnode lock. (mbf) */ 51#endif 52 int n_flag; --- 48 unchanged lines hidden --- | 46 47struct smbfs_fctx; 48 49struct smbnode { 50#ifndef FB_CURRENT 51 struct lock n_lock; /* smbnode lock. (mbf) */ 52#endif 53 int n_flag; --- 48 unchanged lines hidden --- |