Update of /cvsroot/libsysio/libsysio/include
In directory sc8-pr-cvs1:/tmp/cvs-serv28828
Modified Files:
Tag: cplant
inode.h
Log Message:
merge trunk changes into cplant branch
Index: inode.h
===================================================================
RCS file: /cvsroot/libsysio/libsysio/include/inode.h,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -C2 -d -r1.4 -r1.4.2.1
*** inode.h 24 Mar 2003 22:09:05 -0000 1.4
--- inode.h 28 Apr 2003 20:43:50 -0000 1.4.2.1
***************
*** 122,126 ****
#define SETATTR_UID 0x08
#define SETATTR_GID 0x10
! #define SETATTR_LEN 0x11
/*
--- 122,126 ----
#define SETATTR_UID 0x08
#define SETATTR_GID 0x10
! #define SETATTR_LEN 0x20
/*
***************
*** 129,132 ****
--- 129,133 ----
struct inode {
LIST_ENTRY(inode) i_link; /* FS i-nodes link */
+ unsigned i_immune : 1; /* immune from GC */
unsigned i_ref; /* soft ref counter */
ino_t i_num; /* i-num (deprecate!) */
***************
*** 143,148 ****
* Init an i-node record.
*/
! #define I_INIT(ino, fs, inum, mode, rdev, ops, fid, private) \
do { \
(ino)->i_ref = 0; \
(ino)->i_num = (inum); \
--- 144,150 ----
* Init an i-node record.
*/
! #define I_INIT(ino, fs, inum, mode, rdev, ops, fid, immunity, private) \
do { \
+ (ino)->i_immune = (immunity) ? 1 : 0; \
(ino)->i_ref = 0; \
(ino)->i_num = (inum); \
***************
*** 399,402 ****
--- 401,405 ----
mode_t type,
dev_t rdev,
+ unsigned immunity,
struct inode_ops *ops,
void *private);
|