Whamcloud - gitweb
backport Andreas's IT_READLINK fix
authorpschwan <pschwan>
Wed, 12 Feb 2003 18:00:59 +0000 (18:00 +0000)
committerpschwan <pschwan>
Wed, 12 Feb 2003 18:00:59 +0000 (18:00 +0000)
lustre/llite/namei.c

index f72e6ba..efd5e0d 100644 (file)
@@ -313,8 +313,7 @@ int ll_intent_lock(struct inode *parent, struct dentry **de,
                                 flag = LL_LOOKUP_NEGATIVE;
                         else
                                 flag = LL_LOOKUP_POSITIVE;
-                } else if (it->it_op & (IT_GETATTR | IT_SETATTR | IT_LOOKUP |
-                                        IT_READLINK)) {
+                } else if (it->it_op & (IT_GETATTR | IT_SETATTR | IT_LOOKUP)) {
                         /* For check ops, we want the lookup to succeed */
                         it->it_data = NULL;
                         if (it->it_status)