From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752916Ab1HKN70 (ORCPT ); Thu, 11 Aug 2011 09:59:26 -0400 Received: from arkanian.console-pimps.org ([212.110.184.194]:60198 "EHLO arkanian.console-pimps.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752786Ab1HKN6n (ORCPT ); Thu, 11 Aug 2011 09:58:43 -0400 From: Matt Fleming To: Oleg Nesterov Cc: linux-kernel@vger.kernel.org, Christine Caulfield , David Teigland Subject: [PATCH 39/41] dlm: Remove another superfluous call to recalc_sigpending() Date: Thu, 11 Aug 2011 14:57:13 +0100 Message-Id: <1313071035-12047-40-git-send-email-matt@console-pimps.org> X-Mailer: git-send-email 1.7.4.4 In-Reply-To: <1313071035-12047-1-git-send-email-matt@console-pimps.org> References: <1313071035-12047-1-git-send-email-matt@console-pimps.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Matt Fleming recalc_sigpending() is called within sigprocmask(), so there is no need call it again after sigprocmask() has returned. I must have missed this call when removing the other recalc_sigpending() in commit 4bcad6c1ef53 ("dlm: Remove superfluous call to recalc_sigpending())". Cc: Christine Caulfield Cc: David Teigland Signed-off-by: Matt Fleming --- fs/dlm/user.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/fs/dlm/user.c b/fs/dlm/user.c index d8ea607..b38b122 100644 --- a/fs/dlm/user.c +++ b/fs/dlm/user.c @@ -678,7 +678,6 @@ static int device_close(struct inode *inode, struct file *file) device_remove_lockspace() */ sigprocmask(SIG_SETMASK, &tmpsig, NULL); - recalc_sigpending(); return 0; } -- 1.7.4.4