aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs
diff options
context:
space:
mode:
authorTomohiro Kusumi <[email protected]>2019-05-06 07:57:23 +0900
committerBrian Behlendorf <[email protected]>2019-05-05 15:57:23 -0700
commita7628932695997e87e6f03531a9ff342e2e1e1d6 (patch)
tree2c7130c26a096d9f0cdaee6dc8f7bc777e3177fc /module/zfs
parentde3e0b914b28deaf9034656d8f6e0bdf9ccd7c7f (diff)
Fix typo/etc in module/zfs/zfs_ctldir.c
Drop duplicated phrases in comments. Also drop an obsolete comment "Perform a mount of the associated...", as all it does now is get objid from DMU and lookup incore inode. Reviewed-by: Giuseppe Di Natale <[email protected]> Reviewed-by: Richard Laager <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Tomohiro Kusumi <[email protected]> Closes #8707
Diffstat (limited to 'module/zfs')
-rw-r--r--module/zfs/zfs_ctldir.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/module/zfs/zfs_ctldir.c b/module/zfs/zfs_ctldir.c
index 9ff492eb4..46e6e19b9 100644
--- a/module/zfs/zfs_ctldir.c
+++ b/module/zfs/zfs_ctldir.c
@@ -56,12 +56,12 @@
* corresponding inode.
*
* All mounts are handled automatically by an user mode helper which invokes
- * the mount mount procedure. Unmounts are handled by allowing the mount
+ * the mount procedure. Unmounts are handled by allowing the mount
* point to expire so the kernel may automatically unmount it.
*
* The '.zfs', '.zfs/snapshot', and all directories created under
* '.zfs/snapshot' (ie: '.zfs/snapshot/<snapname>') all share the same
- * share the same zfsvfs_t as the head filesystem (what '.zfs' lives under).
+ * zfsvfs_t as the head filesystem (what '.zfs' lives under).
*
* File systems mounted on top of the '.zfs/snapshot/<snapname>' paths
* (ie: snapshots) are complete ZFS filesystems and have their own unique
@@ -148,7 +148,7 @@ zfsctl_snapshot_alloc(char *full_name, char *full_path, spa_t *spa,
}
/*
- * Free a zfs_snapentry_t the called must ensure there are no active
+ * Free a zfs_snapentry_t the caller must ensure there are no active
* references.
*/
static void
@@ -810,7 +810,6 @@ zfsctl_root_lookup(struct inode *dip, char *name, struct inode **ipp,
/*
* Lookup entry point for the 'snapshot' directory. Try to open the
* snapshot if it exist, creating the pseudo filesystem inode as necessary.
- * Perform a mount of the associated dataset on top of the inode.
*/
int
zfsctl_snapdir_lookup(struct inode *dip, char *name, struct inode **ipp,