mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 03:37:45 +03:00
Illumos #3742
3742 zfs comments need cleaner, more consistent style Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Christopher Siden <christopher.siden@delphix.com> References: https://www.illumos.org/issues/3742 illumos/illumos-gate@f717074149 Ported-by: Richard Yao <ryao@gentoo.org> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue #1775 Porting notes: 1. The change to zfs_vfsops.c was dropped because it involves zfs_mount_label_policy, which does not exist in the Linux port.
This commit is contained in:
committed by
Brian Behlendorf
parent
e49f1e20a0
commit
d3cc8b152e
@@ -290,9 +290,7 @@ zfs_is_bootfs(const char *name)
|
||||
}
|
||||
|
||||
/*
|
||||
* zfs_earlier_version
|
||||
*
|
||||
* Return non-zero if the spa version is less than requested version.
|
||||
* Return non-zero if the spa version is less than requested version.
|
||||
*/
|
||||
static int
|
||||
zfs_earlier_version(const char *name, int version)
|
||||
@@ -310,8 +308,6 @@ zfs_earlier_version(const char *name, int version)
|
||||
}
|
||||
|
||||
/*
|
||||
* zpl_earlier_version
|
||||
*
|
||||
* Return TRUE if the ZPL version is less than requested version.
|
||||
*/
|
||||
static boolean_t
|
||||
@@ -2942,10 +2938,10 @@ zfs_create_cb(objset_t *os, void *arg, cred_t *cr, dmu_tx_t *tx)
|
||||
|
||||
/*
|
||||
* inputs:
|
||||
* createprops list of properties requested by creator
|
||||
* default_zplver zpl version to use if unspecified in createprops
|
||||
* fuids_ok fuids allowed in this version of the spa?
|
||||
* os parent objset pointer (NULL if root fs)
|
||||
* fuids_ok fuids allowed in this version of the spa?
|
||||
* sa_ok SAs allowed in this version of the spa?
|
||||
* createprops list of properties requested by creator
|
||||
*
|
||||
* outputs:
|
||||
* zplprops values for the zplprops we attach to the master node object
|
||||
|
||||
Reference in New Issue
Block a user