summaryrefslogtreecommitdiffstats
path: root/cmd/zed/zed_file.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_file.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_file.c')
-rw-r--r--cmd/zed/zed_file.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/cmd/zed/zed_file.c b/cmd/zed/zed_file.c
index 3d62f9fe4..354f67d24 100644
--- a/cmd/zed/zed_file.c
+++ b/cmd/zed/zed_file.c
@@ -93,7 +93,7 @@ zed_file_write_n(int fd, void *buf, size_t n)
/*
* Set an exclusive advisory lock on the open file descriptor [fd].
* Return 0 on success, 1 if a conflicting lock is held by another process,
- * or -1 on error (with errno set).
+ * or -1 on error (with errno set).
*/
int
zed_file_lock(int fd)
@@ -144,9 +144,9 @@ zed_file_unlock(int fd)
/*
* Test whether an exclusive advisory lock could be obtained for the open
- * file descriptor [fd].
+ * file descriptor [fd].
* Return 0 if the file is not locked, >0 for the PID of another process
- * holding a conflicting lock, or -1 on error (with errno set).
+ * holding a conflicting lock, or -1 on error (with errno set).
*/
pid_t
zed_file_is_locked(int fd)
@@ -201,8 +201,9 @@ zed_file_close_from(int lowfd)
/*
* Set the CLOEXEC flag on file descriptor [fd] so it will be automatically
- * closed upon successful execution of one of the exec functions.
+ * closed upon successful execution of one of the exec functions.
* Return 0 on success, or -1 on error.
+ *
* FIXME: No longer needed?
*/
int