[PATCH] quota-nld:remove redundant description after fix setup_sigterm_handler()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux