From: bobijam Date: Mon, 21 Jul 2008 01:16:02 +0000 (+0000) Subject: Branch HEAD X-Git-Tag: v1_9_50~175 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=89458765ec46e178127ff44671c62b8d7855d32e;hp=7d4c1044c55cf2bc2cfc0c4400f618fec22da34f;p=fs%2Flustre-release.git Branch HEAD b=16266 o=komal i=adilger, bobijam add missing LPROCFS_ENTRY/EXIT markers in HEAD. --- diff --git a/lustre/obdclass/lprocfs_status.c b/lustre/obdclass/lprocfs_status.c index d34eba0..29b3c95 100644 --- a/lustre/obdclass/lprocfs_status.c +++ b/lustre/obdclass/lprocfs_status.c @@ -58,6 +58,7 @@ struct proc_dir_entry *lprocfs_srch(struct proc_dir_entry *head, if (head == NULL) return NULL; + LPROCFS_ENTRY(); temp = head->subdir; while (temp != NULL) { @@ -66,6 +67,7 @@ struct proc_dir_entry *lprocfs_srch(struct proc_dir_entry *head, temp = temp->next; } + LPROCFS_EXIT(); return NULL; } @@ -309,6 +311,7 @@ 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) @@ -332,6 +335,7 @@ 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)