summaryrefslogtreecommitdiffstats
path: root/cmd/zed/zed.c
diff options
context:
space:
mode:
authorChris Dunlap <[email protected]>2014-09-10 14:22:39 -0700
committerBrian Behlendorf <[email protected]>2014-09-22 12:17:53 -0700
commit5043deaa4077fc4bf748469fc8e89a422c7a5aef (patch)
tree43fec0a13cbe81895cb5dc0df95dda135ef2eae2 /cmd/zed/zed.c
parent6d9036f35049f0917748c89114bac58a5029e989 (diff)
Remove reverse indentation from zed comments.
Remove all occurrences of reverse indentation from zed comments for consistency within the project code base. Signed-off-by: Chris Dunlap <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #2695
Diffstat (limited to 'cmd/zed/zed.c')
-rw-r--r--cmd/zed/zed.c18
1 files changed, 11 insertions, 7 deletions
diff --git a/cmd/zed/zed.c b/cmd/zed/zed.c
index bf29c0486..b8dbc442c 100644
--- a/cmd/zed/zed.c
+++ b/cmd/zed/zed.c
@@ -91,11 +91,13 @@ _setup_sig_handlers(void)
/*
* Lock all current and future pages in the virtual memory address space.
- * Access to locked pages will never be delayed by a page fault.
+ * Access to locked pages will never be delayed by a page fault.
+ *
* EAGAIN is tested up to max_tries in case this is a transient error.
+ *
* Note that memory locks are not inherited by a child created via fork()
- * and are automatically removed during an execve(). As such, this must
- * be called after the daemon fork()s (when running in the background).
+ * and are automatically removed during an execve(). As such, this must
+ * be called after the daemon fork()s (when running in the background).
*/
static void
_lock_memory(void)
@@ -121,10 +123,11 @@ _lock_memory(void)
/*
* Start daemonization of the process including the double fork().
+ *
* The parent process will block here until _finish_daemonize() is called
- * (in the grandchild process), at which point the parent process will exit.
- * This prevents the parent process from exiting until initialization is
- * complete.
+ * (in the grandchild process), at which point the parent process will exit.
+ * This prevents the parent process from exiting until initialization is
+ * complete.
*/
static void
_start_daemonize(void)
@@ -182,8 +185,9 @@ _start_daemonize(void)
/*
* Finish daemonization of the process by closing stdin/stdout/stderr.
+ *
* This must be called at the end of initialization after all external
- * communication channels are established and accessible.
+ * communication channels are established and accessible.
*/
static void
_finish_daemonize(void)