Skip to contentSkip to conversation

dlm: Remove superfluous call to recalc_sigpending()

PATCH In review Matt Fleming 2 participants 2 messages Mar 24, 2011 – Mar 28, 2011 Distributed lock manager (DLM)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dlm: Remove superfluous call to recalc_sigpending()

From: Matt Fleming <[email protected]>

recalc_sigpending() is called within sigprocmask(), so there is no need call it again after sigprocmask() has returned.

---
 fs/dlm/user.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
fs/dlm/user.c +0 -1
index 66d6c16..d9da93c 100644
@@ -632,7 +632,6 @@ static ssize_t device_write(struct file *file, const char __user *buf,
 
  out_sig:
 	sigprocmask(SIG_SETMASK, &tmpsig, NULL);
-	recalc_sigpending();
  out_free:
 	kfree(kbuf);
 	return error;
Signature · 1 line
1.7.4
maintainer
#1 lore raw
Quoted 4 lines · Matt Fleming

From: Matt Fleming <[email protected]>

recalc_sigpending() is called within sigprocmask(), so there is no need call it again after sigprocmask() has returned.

Thanks, pushed to dlm.git next.
Dave