aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/zcp.c
diff options
context:
space:
mode:
authorAndrea Gelmini <[email protected]>2019-09-03 02:56:41 +0200
committerBrian Behlendorf <[email protected]>2019-09-02 17:56:41 -0700
commite1cfd73f7f91f1ccf4b19ec26adcbcd575f546c9 (patch)
treeb5297a8ebb1c0c804e121b8f0522f83aa5b5480b /module/zfs/zcp.c
parent7859537768e030d0151a6d72a6b031751228bc85 (diff)
Fix typos in module/zfs/
Reviewed-by: Matt Ahrens <[email protected]> Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Richard Laager <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Andrea Gelmini <[email protected]> Closes #9240
Diffstat (limited to 'module/zfs/zcp.c')
-rw-r--r--module/zfs/zcp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/zfs/zcp.c b/module/zfs/zcp.c
index 1aeea1314..44e4d230a 100644
--- a/module/zfs/zcp.c
+++ b/module/zfs/zcp.c
@@ -66,7 +66,7 @@
* consuming excessive system or running forever. If one of these limits is
* hit, the channel program will be stopped immediately and return from
* zcp_eval() with an error code. No attempt will be made to roll back or undo
- * any changes made by the channel program before the error occured.
+ * any changes made by the channel program before the error occurred.
* Consumers invoking zcp_eval() from elsewhere in the kernel may pass a time
* limit of 0, disabling the time limit.
*
@@ -77,7 +77,7 @@
* In place of a return value, an error message will also be returned in the
* 'result' nvlist containing information about the error. No attempt will be
* made to roll back or undo any changes made by the channel program before the
- * error occured.
+ * error occurred.
*
* 3. If an error occurs inside a ZFS library call which returns an error code,
* the error is returned to the Lua script to be handled as desired.
@@ -160,7 +160,7 @@ zcp_argerror(lua_State *state, int narg, const char *msg, ...)
* of a function call.
*
* If an error occurs, the cleanup function will be invoked exactly once and
- * then unreigstered.
+ * then unregistered.
*
* Returns the registered cleanup handler so the caller can deregister it
* if no error occurs.