All of lore.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

* Re: [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, 0 replies; 3+ messages in thread
From: Jan Kara @ 2022-12-06 12:00 UTC (permalink / raw)
  To: lihaoxiang (F)
  Cc: Jan Kara, linux-ext4, Zhiqiang Liu, linfeilong, lijinlin (A),
	louhongxiang

On Tue 06-12-22 19:51:26, lihaoxiang (F) wrote:
> 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.

Thanks! I've folded the fixup patch in the previous fix.

								Honza

> ---
>  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
-- 
Jan Kara <jack@suse.com>
SUSE Labs, CR

^ permalink raw reply	[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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.