]>
Commit | Line | Data |
---|---|---|
ed2a6bee DM |
1 | From 4bcad6c1ef53a9a0224f4654ceb3b9030d0769ec Mon Sep 17 00:00:00 2001 |
2 | From: Matt Fleming <matt.fleming@linux.intel.com> | |
3 | Date: Thu, 24 Mar 2011 13:56:47 +0000 | |
4 | Subject: [PATCH 1/1] dlm: Remove superfluous call to recalc_sigpending() | |
5 | ||
6 | recalc_sigpending() is called within sigprocmask(), so there is no | |
7 | need call it again after sigprocmask() has returned. | |
8 | ||
9 | Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com> | |
10 | Signed-off-by: David Teigland <teigland@redhat.com> | |
11 | --- | |
12 | fs/dlm/user.c | 1 - | |
13 | 1 files changed, 0 insertions(+), 1 deletions(-) | |
14 | ||
15 | diff --git a/fs/dlm/user.c b/fs/dlm/user.c | |
16 | index d5ab3fe..e96bf3e 100644 | |
17 | --- a/fs/dlm/user.c | |
18 | +++ b/fs/dlm/user.c | |
19 | @@ -611,7 +611,6 @@ static ssize_t device_write(struct file *file, const char __user *buf, | |
20 | ||
21 | out_sig: | |
22 | sigprocmask(SIG_SETMASK, &tmpsig, NULL); | |
23 | - recalc_sigpending(); | |
24 | out_free: | |
25 | kfree(kbuf); | |
26 | return error; | |
27 | -- | |
28 | 1.7.2.5 | |
29 |