Whamcloud - gitweb
r=green
authoralex <alex>
Tue, 20 Dec 2005 21:51:34 +0000 (21:51 +0000)
committeralex <alex>
Tue, 20 Dec 2005 21:51:34 +0000 (21:51 +0000)
  - remove dentry from hash before puting on orphan list (2.4 only)

lustre/llite/dcache.c

index 967ae85..793c657 100644 (file)
@@ -199,6 +199,7 @@ restart:
                         __d_drop(dentry);
                         dentry->d_flags |= DCACHE_LUSTRE_INVALID;
 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0))
+                        __d_drop(dentry);
                         hlist_add_head(&dentry->d_hash,
                                        &sbi->ll_orphan_dentry_list);
 #endif