public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] quota-nld:remove redundant description after fix setup_sigterm_handler()
@ 2022-12-06 11:58 lihaoxiang (F)
  0 siblings, 0 replies; 3+ messages in thread
From: lihaoxiang (F) @ 2022-12-06 11:58 UTC (permalink / raw)
  To: Jan Kara; +Cc: linux-ext4, linfeilong, Zhiqiang Liu, louhongxiang, lijinlin (A)

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 <lihaoxiang9@huawei.com>
---
 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [PATCH] quota-nld:remove redundant description after fix setup_sigterm_handler()
@ 2022-12-06 11:51 lihaoxiang (F)
  2022-12-06 12:00 ` Jan Kara
  0 siblings, 1 reply; 3+ messages in thread
From: lihaoxiang (F) @ 2022-12-06 11:51 UTC (permalink / raw)
  To: Jan Kara; +Cc: linux-ext4, Zhiqiang Liu, linfeilong, lijinlin (A), louhongxiang

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.
---
 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-12-06 12:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-06 11:58 [PATCH] quota-nld:remove redundant description after fix setup_sigterm_handler() lihaoxiang (F)
  -- strict thread matches above, loose matches on Subject: below --
2022-12-06 11:51 lihaoxiang (F)
2022-12-06 12:00 ` Jan Kara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox