From 1cc9ecca1d3aef5e1299a2b3234614eee104b749 Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Sat, 20 Aug 2005 17:56:09 +0000 Subject: [PATCH] - sync vserver and fedora branches - mostly inconsequential whitespace change, but will help future merges of both --- fs/exec.c | 4 +++- fs/inode.c | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fs/exec.c b/fs/exec.c index ac3f2ac73..f1e7e72da 100644 --- a/fs/exec.c +++ b/fs/exec.c @@ -47,7 +47,6 @@ #include #include #include -#include #include #include @@ -761,11 +760,14 @@ no_thread_group: atomic_set(&newsighand->count, 1); memcpy(newsighand->action, oldsighand->action, sizeof(newsighand->action)); + write_lock_irq(&tasklist_lock); spin_lock(&oldsighand->siglock); spin_lock(&newsighand->siglock); + current->sighand = newsighand; recalc_sigpending(); + spin_unlock(&newsighand->siglock); spin_unlock(&oldsighand->siglock); write_unlock_irq(&tasklist_lock); diff --git a/fs/inode.c b/fs/inode.c index 4fb853b60..8c983e9a5 100644 --- a/fs/inode.c +++ b/fs/inode.c @@ -21,7 +21,6 @@ #include #include #include -#include /* * This is needed for the following functions: -- 2.47.0