diff options
author | Brian Behlendorf <[email protected]> | 2017-03-07 19:21:37 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-03-10 09:51:33 -0800 |
commit | 0037b49e833a7073bee0ef3f6680f330f727769e (patch) | |
tree | 24404e9e670d391e7821cb14be839b8ed6dd37d7 /module/zfs/zpl_super.c | |
parent | ef1bdf363c021525c1db9630647dea73498c6bfd (diff) |
Rename zfs_sb_t -> zfsvfs_t
The use of zfs_sb_t instead of zfsvfs_t results in unnecessary
conflicts with the upstream source. Change all instances of
zfs_sb_t to zfsvfs_t including updating the variables names.
Whenever possible the code was updated to be consistent with
hope it appears in the upstream OpenZFS source.
Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'module/zfs/zpl_super.c')
-rw-r--r-- | module/zfs/zpl_super.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/module/zfs/zpl_super.c b/module/zfs/zpl_super.c index 91c36c9e3..f45d068ba 100644 --- a/module/zfs/zpl_super.c +++ b/module/zfs/zpl_super.c @@ -378,17 +378,17 @@ zpl_parse_options(char *osname, char *mntopts, zfs_mntopts_t *zmo, static int zpl_remount_fs(struct super_block *sb, int *flags, char *data) { - zfs_sb_t *zsb = sb->s_fs_info; + zfsvfs_t *zfsvfs = sb->s_fs_info; fstrans_cookie_t cookie; int error; - error = zpl_parse_options(zsb->z_mntopts->z_osname, data, - zsb->z_mntopts, B_TRUE); + error = zpl_parse_options(zfsvfs->z_mntopts->z_osname, data, + zfsvfs->z_mntopts, B_TRUE); if (error) return (error); cookie = spl_fstrans_mark(); - error = -zfs_remount(sb, flags, zsb->z_mntopts); + error = -zfs_remount(sb, flags, zfsvfs->z_mntopts); spl_fstrans_unmark(cookie); ASSERT3S(error, <=, 0); @@ -396,12 +396,13 @@ zpl_remount_fs(struct super_block *sb, int *flags, char *data) } static int -__zpl_show_options(struct seq_file *seq, zfs_sb_t *zsb) +__zpl_show_options(struct seq_file *seq, zfsvfs_t *zfsvfs) { - seq_printf(seq, ",%s", zsb->z_flags & ZSB_XATTR ? "xattr" : "noxattr"); + seq_printf(seq, ",%s", + zfsvfs->z_flags & ZSB_XATTR ? "xattr" : "noxattr"); #ifdef CONFIG_FS_POSIX_ACL - switch (zsb->z_acl_type) { + switch (zfsvfs->z_acl_type) { case ZFS_ACLTYPE_POSIXACL: seq_puts(seq, ",posixacl"); break; |