diff options
| author | Roland McGrath <roland@redhat.com> | 2004-08-05 03:43:51 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-08-05 03:43:51 -0700 |
| commit | a731692ee1cf9b59c789b165c2bbdd2b0c69b70b (patch) | |
| tree | 9d982f924ec709017029b11af8283b95a3624b87 /fs/proc/array.c | |
| parent | 8c17e55a1d557810a427cc0f4f0bb3fa5c3b108e (diff) | |
[PATCH] fix /proc printing of TASK_DEAD state
I just stumbled across this patch that's been sitting in my tree for ages.
I thought I'd sent this in before. It's a trivial fix for the printing
of task state in /proc and sysrq dumps and such, so that TASK_DEAD shows
up correctly. This state is pretty much only ever there to be seen when
there are exit/reaping bugs, but it's not like that hasn't come up.
Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/proc/array.c')
| -rw-r--r-- | fs/proc/array.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/proc/array.c b/fs/proc/array.c index fbcf8bea0278..fe14439309ab 100644 --- a/fs/proc/array.c +++ b/fs/proc/array.c @@ -137,6 +137,7 @@ static inline const char * get_task_state(struct task_struct *tsk) TASK_INTERRUPTIBLE | TASK_UNINTERRUPTIBLE | TASK_ZOMBIE | + TASK_DEAD | TASK_STOPPED); const char **p = &task_state_array[0]; |
