From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B401EC4708E for ; Tue, 6 Dec 2022 12:00:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235295AbiLFMAD (ORCPT ); Tue, 6 Dec 2022 07:00:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235312AbiLFL7V (ORCPT ); Tue, 6 Dec 2022 06:59:21 -0500 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A18B5FEE for ; Tue, 6 Dec 2022 03:58:22 -0800 (PST) Received: from dggpeml500006.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4NRJjb5qbCzqStR for ; Tue, 6 Dec 2022 19:54:11 +0800 (CST) Received: from [10.174.178.112] (10.174.178.112) by dggpeml500006.china.huawei.com (7.185.36.76) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 6 Dec 2022 19:58:20 +0800 Message-ID: <1d4e2ced-6a10-916f-6397-4eecd02defe8@huawei.com> Date: Tue, 6 Dec 2022 19:58:19 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.0 Content-Language: en-US To: Jan Kara CC: , , Zhiqiang Liu , , "lijinlin (A)" From: "lihaoxiang (F)" Subject: [PATCH] quota-nld:remove redundant description after fix setup_sigterm_handler() Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.178.112] X-ClientProxiedBy: dggpeml500017.china.huawei.com (7.185.36.243) To dggpeml500006.china.huawei.com (7.185.36.76) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org In the commit 06b93e5c1caf5d36d51132cb85c11a96cbdae023, it renamed the function `use_pid_file` to `setup_sigterm_handler` and excluded to store daemon's pid here. So we need to clean the corresponding note in time. Signed-off-by: lihaoxiang --- quota_nld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quota_nld.c b/quota_nld.c index 82e60c2..58a62af 100644 --- a/quota_nld.c +++ b/quota_nld.c @@ -459,7 +459,7 @@ static void remove_pid(int signal) exit(EXIT_SUCCESS); } -/* Store daemon's PID into file and register its removal on SIGTERM */ +/* Register daemon's PID file removal on SIGTERM */ static void setup_sigterm_handler(void) { struct sigaction term_action; -- 2.37.0.windows.1