From 982979728bf8d9286eaeec5cd38e9cc2d15bddc1 Mon Sep 17 00:00:00 2001 From: adilger Date: Fri, 20 Sep 2002 09:25:15 +0000 Subject: [PATCH] Add in IT_LINK2. --- lustre/patches/patch-2.4.18 | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/lustre/patches/patch-2.4.18 b/lustre/patches/patch-2.4.18 index 23bc0c6..26856dc 100644 --- a/lustre/patches/patch-2.4.18 +++ b/lustre/patches/patch-2.4.18 @@ -389,7 +389,7 @@ EXPORT_SYMBOL(dentry_open); --- lum-pristine/include/linux/dcache.h Thu Nov 22 14:46:18 2001 +++ lum/include/linux/dcache.h Mon Aug 12 00:02:29 2002 -@@ -6,6 +6,33 @@ +@@ -6,6 +6,34 @@ #include #include @@ -397,17 +397,18 @@ +#define IT_CREAT (1<<1) +#define IT_MKDIR (1<<2) +#define IT_LINK (1<<3) -+#define IT_SYMLINK (1<<4) -+#define IT_UNLINK (1<<5) -+#define IT_RMDIR (1<<6) -+#define IT_RENAME (1<<7) -+#define IT_RENAME2 (1<<8) -+#define IT_READDIR (1<<9) -+#define IT_GETATTR (1<<10) -+#define IT_SETATTR (1<<11) -+#define IT_READLINK (1<<12) -+#define IT_MKNOD (1<<13) -+#define IT_LOOKUP (1<<14) ++#define IT_LINK2 (1<<4) ++#define IT_SYMLINK (1<<5) ++#define IT_UNLINK (1<<6) ++#define IT_RMDIR (1<<8) ++#define IT_RENAME (1<<8) ++#define IT_RENAME2 (1<<9) ++#define IT_READDIR (1<<10) ++#define IT_GETATTR (1<<11) ++#define IT_SETATTR (1<<12) ++#define IT_READLINK (1<<13) ++#define IT_MKNOD (1<<14) ++#define IT_LOOKUP (1<<15) + +struct lookup_intent { + int it_op; -- 1.8.3.1