From: bobijam Date: Tue, 22 Jul 2008 04:09:56 +0000 (+0000) Subject: roll back patch from bz 16266, it will hung the umount. X-Git-Tag: v1_9_50~167 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=e57953003585093521f59629a250ff86a3072bc6;p=fs%2Flustre-release.git roll back patch from bz 16266, it will hung the umount. --- diff --git a/lustre/obdclass/lprocfs_status.c b/lustre/obdclass/lprocfs_status.c index 29b3c95..d34eba0 100644 --- a/lustre/obdclass/lprocfs_status.c +++ b/lustre/obdclass/lprocfs_status.c @@ -58,7 +58,6 @@ struct proc_dir_entry *lprocfs_srch(struct proc_dir_entry *head, if (head == NULL) return NULL; - LPROCFS_ENTRY(); temp = head->subdir; while (temp != NULL) { @@ -67,7 +66,6 @@ struct proc_dir_entry *lprocfs_srch(struct proc_dir_entry *head, temp = temp->next; } - LPROCFS_EXIT(); return NULL; } @@ -311,7 +309,6 @@ void lprocfs_remove(struct proc_dir_entry **rooth) parent = root->parent; LASSERT(parent != NULL); - LPROCFS_ENTRY(); /* search vs remove race */ while (1) { while (temp->subdir != NULL) @@ -335,7 +332,6 @@ void lprocfs_remove(struct proc_dir_entry **rooth) if (temp == parent) break; } - LPROCFS_EXIT(); } void lprocfs_remove_proc_entry(const char *name, struct proc_dir_entry *parent)