linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / fs / reiserfs / fix_node.c
index 6d0e554..aa22588 100644 (file)
@@ -34,6 +34,7 @@
  ** 
  **/
 
+#include <linux/config.h>
 #include <linux/time.h>
 #include <linux/string.h>
 #include <linux/reiserfs_fs.h>
@@ -190,7 +191,9 @@ static void create_virtual_node(struct tree_balance *tb, int h)
                                               "vs-8045: create_virtual_node: rdkey %k, affected item==%d (mode==%c) Must be %c",
                                               key, vn->vn_affected_item_num,
                                               vn->vn_mode, M_DELETE);
-                       }
+                       } else
+                               /* we can delete directory item, that has only one directory entry in it */
+                               ;
                }
 #endif