*** empty log message ***
authorcharles <charles>
Wed, 4 Dec 2002 19:12:43 +0000 (19:12 +0000)
committercharles <charles>
Wed, 4 Dec 2002 19:12:43 +0000 (19:12 +0000)
yaffs_guts.c

index 0069da4c4c519205694282689fd44b9c5f641bec..2fddbc2d66ea2c3ecf055cde57e397070e37f51c 100644 (file)
@@ -14,7 +14,7 @@
  */
  //yaffs_guts.c
 
-const char *yaffs_guts_c_version="$Id: yaffs_guts.c,v 1.13 2002-11-26 01:15:37 charles Exp $";
+const char *yaffs_guts_c_version="$Id: yaffs_guts.c,v 1.14 2002-12-04 19:12:43 charles Exp $";
 
 #include "yportenv.h"
 
@@ -3424,7 +3424,7 @@ static int yaffs_UnlinkFile(yaffs_Object *in)
                //in->myDev->nUnlinkedFiles++;
                //in->renameAllowed = 0;
 #ifdef __KERNEL__
-               if(in->myInode)
+               if(!in->myInode)
                {
                        immediateDeletion = 1;