]> granicus.if.org Git - zfs/commitdiff
Fix indefinite article
authorGeLiXin <ge.lixin@zte.com.cn>
Mon, 8 Aug 2016 08:00:08 +0000 (16:00 +0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 11 Aug 2016 18:23:49 +0000 (11:23 -0700)
The indefinite article before nvlist should be "an", not "a".

We have 27 "an nvlist" and 7 "a nvlist" in our comment, they should
stay the same as we are such a strict filesystem.

Signed-off-by: GeLiXin <ge.lixin@zte.com.cn>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4941

include/sys/fs/zfs.h
lib/libzfs/libzfs_config.c
lib/libzfs_core/libzfs_core.c
module/nvpair/nvpair.c
module/zfs/fm.c
module/zfs/spa_history.c

index b25d3016aea8c3b43e93658dd1343fc68d8221a0..9d3008934fa2d0fd9535ade1e0805980b85a3335 100644 (file)
@@ -834,7 +834,7 @@ typedef struct vdev_stat {
  *
  * These are stats which aren't included in the original iostat output.  For
  * convenience, they are grouped together in vdev_stat_ex, although each stat
- * is individually exported as a nvlist.
+ * is individually exported as an nvlist.
  */
 typedef struct vdev_stat_ex {
        /* Number of ZIOs issued to disk and waiting to finish */
index 6ecfe98ff739194cc072b63cc7895fee27081695..4585a2b776d529debe53ba60011a72d5e6a20111 100644 (file)
@@ -212,7 +212,7 @@ namespace_reload(libzfs_handle_t *hdl)
 }
 
 /*
- * Retrieve the configuration for the given pool.  The configuration is a nvlist
+ * Retrieve the configuration for the given pool. The configuration is an nvlist
  * describing the vdevs, as well as the statistics associated with each one.
  */
 nvlist_t *
index 0359e4284ac1585763981b39437047d3770e5bbd..74370f40123b029b6dda3f36dccf71925df591f1 100644 (file)
@@ -391,7 +391,7 @@ lzc_hold(nvlist_t *holds, int cleanup_fd, nvlist_t **errlist)
  *
  * The keys in the nvlist are snapshot names.
  * The snapshots must all be in the same pool.
- * The value is a nvlist whose keys are the holds to remove.
+ * The value is an nvlist whose keys are the holds to remove.
  *
  * Holds which failed to release because they didn't exist will have an entry
  * added to errlist, but will not cause an overall failure.
@@ -424,7 +424,7 @@ lzc_release(nvlist_t *holds, nvlist_t **errlist)
 /*
  * Retrieve list of user holds on the specified snapshot.
  *
- * On success, *holdsp will be set to a nvlist which the caller must free.
+ * On success, *holdsp will be set to an nvlist which the caller must free.
  * The keys are the names of the holds, and the value is the creation time
  * of the hold (uint64) in seconds since the epoch.
  */
index 1eca0feea7691c0ef7a5c309a7c8441d2fe0655f..bfd21314ed3abe0e268c32f07228d217ee81b581 100644 (file)
@@ -2022,7 +2022,7 @@ typedef struct {
 /*
  * nvs operations are:
  *   - nvs_nvlist
- *     encoding / decoding of a nvlist header (nvlist_t)
+ *     encoding / decoding of an nvlist header (nvlist_t)
  *     calculates the size used for header and end detection
  *
  *   - nvs_nvpair
index 4de901ed09c75b33d4ebe2917a4a895c8b9a814c..d60c296c5d169360a116602ad0216c86b48ef378 100644 (file)
@@ -154,7 +154,7 @@ fm_printf(int depth, int c, int cols, const char *format, ...)
 }
 
 /*
- * Recursively print a nvlist in the specified column width and return the
+ * Recursively print an nvlist in the specified column width and return the
  * column we end up in.  This function is called recursively by fm_nvprint(),
  * below.  We generically format the entire nvpair using hexadecimal
  * integers and strings, and elide any integer arrays.  Arrays are basically
index cf6fc224a2304bd8edd5dffd8c0ea8946b2d675d..4ae74c28401a7453fcb8209d8b16eaee5aff4ffe 100644 (file)
@@ -46,7 +46,7 @@
  * The history log is stored as a dmu object containing
  * <packed record length, record nvlist> tuples.
  *
- * Where "record nvlist" is a nvlist containing uint64_ts and strings, and
+ * Where "record nvlist" is an nvlist containing uint64_ts and strings, and
  * "packed record length" is the packed length of the "record nvlist" stored
  * as a little endian uint64_t.
  *