Update of /cvsroot/libsysio/libsysio/include
In directory sc8-pr-cvs1:/tmp/cvs-serv16559/libsysio/include
Modified Files:
Tag: libsysio_tests
inode.h sysio.h
Log Message:
Trying to get these missing files in again...it turns out I am not very good at CVS commands..
Index: inode.h
===================================================================
RCS file: /cvsroot/libsysio/libsysio/include/inode.h,v
retrieving revision 1.6
retrieving revision 1.6.6.1
diff -u -w -b -B -p -r1.6 -r1.6.6.1
--- inode.h 23 Apr 2003 19:45:51 -0000 1.6
+++ inode.h 14 Aug 2003 18:42:22 -0000 1.6.6.1
@@ -129,6 +129,7 @@ struct inode_ops {
struct inode {
LIST_ENTRY(inode) i_link; /* FS i-nodes link */
unsigned i_immune : 1; /* immune from GC */
+ unsigned i_zombie : 1; /* stale inode */
unsigned i_ref; /* soft ref counter */
ino_t i_num; /* i-num (deprecate!) */
mode_t i_mode; /* mode (see stat.h) */
@@ -146,6 +147,7 @@ struct inode {
#define I_INIT(ino, fs, inum, mode, rdev, ops, fid, immunity, private) \
do { \
(ino)->i_immune = (immunity) ? 1 : 0; \
+ (ino)->i_zombie = 0; \
(ino)->i_ref = 0; \
(ino)->i_num = (inum); \
(ino)->i_mode = (mode); \
@@ -407,6 +409,7 @@ extern struct inode *_sysio_i_find(struc
ino_t ino,
struct file_identifier *fid);
extern void _sysio_i_gone(struct inode *ino);
+extern void _sysio_i_undead(struct inode *ino);
extern int _sysio_p_find_alias(struct pnode *parent,
struct qstr *name,
struct pnode **pnop);
Index: sysio.h
===================================================================
RCS file: /cvsroot/libsysio/libsysio/include/sysio.h,v
retrieving revision 1.7
retrieving revision 1.7.8.1
diff -u -w -b -B -p -r1.7 -r1.7.8.1
--- sysio.h 26 Mar 2003 00:06:04 -0000 1.7
+++ sysio.h 14 Aug 2003 18:42:22 -0000 1.7.8.1
@@ -124,9 +124,7 @@ extern void _sysio_shutdown(void);
* but it's not illegal to have multiple externs, so long as they are the
* same. It helps when building the library in a standalone fashion.
*/
-#if 0
extern int access(const char *path, int amode);
-#endif
extern int chdir(const char *path);
extern int chmod(const char *path, mode_t mode);
extern int chown(const char *path, uid_t owner, gid_t group);
|