mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
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 <cdunlap@llnl.gov> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #2695
This commit is contained in:
committed by
Brian Behlendorf
parent
6d9036f350
commit
5043deaa40
+13
-9
@@ -41,7 +41,7 @@
|
||||
|
||||
/*
|
||||
* Create an environment string array for passing to execve() using the
|
||||
* NAME=VALUE strings in container [zsp].
|
||||
* NAME=VALUE strings in container [zsp].
|
||||
* Return a newly-allocated environment, or NULL on error.
|
||||
*/
|
||||
static char **
|
||||
@@ -82,9 +82,10 @@ _zed_exec_create_env(zed_strings_t *zsp)
|
||||
|
||||
/*
|
||||
* Fork a child process to handle event [eid]. The program [prog]
|
||||
* in directory [dir] is executed with the envionment [env].
|
||||
* in directory [dir] is executed with the envionment [env].
|
||||
*
|
||||
* The file descriptor [zfd] is the zevent_fd used to track the
|
||||
* current cursor location within the zevent nvlist.
|
||||
* current cursor location within the zevent nvlist.
|
||||
*/
|
||||
static void
|
||||
_zed_exec_fork_child(uint64_t eid, const char *dir, const char *prog,
|
||||
@@ -156,14 +157,17 @@ restart:
|
||||
|
||||
/*
|
||||
* Process the event [eid] by synchronously invoking all scripts with a
|
||||
* matching class prefix.
|
||||
* matching class prefix.
|
||||
*
|
||||
* Each executable in [scripts] from the directory [dir] is matched against
|
||||
* the event's [class], [subclass], and the "all" class (which matches
|
||||
* all events). Every script with a matching class prefix is invoked.
|
||||
* The NAME=VALUE strings in [envs] will be passed to the script as
|
||||
* environment variables.
|
||||
* the event's [class], [subclass], and the "all" class (which matches
|
||||
* all events). Every script with a matching class prefix is invoked.
|
||||
* The NAME=VALUE strings in [envs] will be passed to the script as
|
||||
* environment variables.
|
||||
*
|
||||
* The file descriptor [zfd] is the zevent_fd used to track the
|
||||
* current cursor location within the zevent nvlist.
|
||||
* current cursor location within the zevent nvlist.
|
||||
*
|
||||
* Return 0 on success, -1 on error.
|
||||
*/
|
||||
int
|
||||
|
||||
Reference in New Issue
Block a user