add IRENAME to prevent reentrant rename for same directory
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Fri, 27 Jul 1984 13:30:52 +0000 (05:30 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Fri, 27 Jul 1984 13:30:52 +0000 (05:30 -0800)
SCCS-vsn: sys/ufs/ffs/dinode.h 6.5
SCCS-vsn: sys/ufs/ffs/inode.h 6.5
SCCS-vsn: sys/ufs/ufs/dinode.h 6.5
SCCS-vsn: sys/ufs/ufs/inode.h 6.5

usr/src/sys/ufs/ffs/dinode.h
usr/src/sys/ufs/ffs/inode.h
usr/src/sys/ufs/ufs/dinode.h
usr/src/sys/ufs/ufs/inode.h

index 1154f36..204ed87 100644 (file)
@@ -1,4 +1,4 @@
-/*     dinode.h        6.4     84/07/20        */
+/*     dinode.h        6.5     84/07/26        */
 
 /*
  * The I node is the focus of all file activity in UNIX.
 
 /*
  * The I node is the focus of all file activity in UNIX.
@@ -142,6 +142,7 @@ ino_t       dirpref();
 #define        IEXLOCK         0x100           /* file has exclusive lock */
 #define        ILWAIT          0x200           /* someone waiting on file lock */
 #define        IMOD            0x400           /* inode has been modified */
 #define        IEXLOCK         0x100           /* file has exclusive lock */
 #define        ILWAIT          0x200           /* someone waiting on file lock */
 #define        IMOD            0x400           /* inode has been modified */
+#define        IRENAME         0x800           /* inode is being renamed */
 
 /* modes */
 #define        IFMT            0170000         /* type of file */
 
 /* modes */
 #define        IFMT            0170000         /* type of file */
index 1dc2d40..ac1182b 100644 (file)
@@ -1,4 +1,4 @@
-/*     inode.h 6.4     84/07/20        */
+/*     inode.h 6.5     84/07/26        */
 
 /*
  * The I node is the focus of all file activity in UNIX.
 
 /*
  * The I node is the focus of all file activity in UNIX.
@@ -142,6 +142,7 @@ ino_t       dirpref();
 #define        IEXLOCK         0x100           /* file has exclusive lock */
 #define        ILWAIT          0x200           /* someone waiting on file lock */
 #define        IMOD            0x400           /* inode has been modified */
 #define        IEXLOCK         0x100           /* file has exclusive lock */
 #define        ILWAIT          0x200           /* someone waiting on file lock */
 #define        IMOD            0x400           /* inode has been modified */
+#define        IRENAME         0x800           /* inode is being renamed */
 
 /* modes */
 #define        IFMT            0170000         /* type of file */
 
 /* modes */
 #define        IFMT            0170000         /* type of file */
index 1154f36..204ed87 100644 (file)
@@ -1,4 +1,4 @@
-/*     dinode.h        6.4     84/07/20        */
+/*     dinode.h        6.5     84/07/26        */
 
 /*
  * The I node is the focus of all file activity in UNIX.
 
 /*
  * The I node is the focus of all file activity in UNIX.
@@ -142,6 +142,7 @@ ino_t       dirpref();
 #define        IEXLOCK         0x100           /* file has exclusive lock */
 #define        ILWAIT          0x200           /* someone waiting on file lock */
 #define        IMOD            0x400           /* inode has been modified */
 #define        IEXLOCK         0x100           /* file has exclusive lock */
 #define        ILWAIT          0x200           /* someone waiting on file lock */
 #define        IMOD            0x400           /* inode has been modified */
+#define        IRENAME         0x800           /* inode is being renamed */
 
 /* modes */
 #define        IFMT            0170000         /* type of file */
 
 /* modes */
 #define        IFMT            0170000         /* type of file */
index 1dc2d40..ac1182b 100644 (file)
@@ -1,4 +1,4 @@
-/*     inode.h 6.4     84/07/20        */
+/*     inode.h 6.5     84/07/26        */
 
 /*
  * The I node is the focus of all file activity in UNIX.
 
 /*
  * The I node is the focus of all file activity in UNIX.
@@ -142,6 +142,7 @@ ino_t       dirpref();
 #define        IEXLOCK         0x100           /* file has exclusive lock */
 #define        ILWAIT          0x200           /* someone waiting on file lock */
 #define        IMOD            0x400           /* inode has been modified */
 #define        IEXLOCK         0x100           /* file has exclusive lock */
 #define        ILWAIT          0x200           /* someone waiting on file lock */
 #define        IMOD            0x400           /* inode has been modified */
+#define        IRENAME         0x800           /* inode is being renamed */
 
 /* modes */
 #define        IFMT            0170000         /* type of file */
 
 /* modes */
 #define        IFMT            0170000         /* type of file */