diff --git a/files.c b/files.c
index 76b12cb9f10ac1dfaf4e67b1dd2d9be214fc9a46..0b38e3b5e522be2b810bd1c2c312aa27f8463016 100644
--- a/files.c
+++ b/files.c
@@ -358,16 +358,6 @@ int write_file(char *name, int tmp)
 	    return -1; 
 	}
       
-	/* Here we make sure the inode and device numbers are the
-	 * same in the file we actually opened, compared to the file
-	 * we performed the initial lstat() call on.
-	 */
-        
-	if (st.st_ino != st2.st_ino || st.st_dev != st2.st_dev) {
-	    close(fd);
-	    return -1;
-	}   
-
     }
     /* Don't follow symlink.  Create new file. */
     else {