Deleted Added
full compact
zfs_vfsops.c (303970) zfs_vfsops.c (307108)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 1776 unchanged lines hidden (view full) ---

1785 */
1786 (void) strlcpy(statp->f_fstypename, "zfs", sizeof(statp->f_fstypename));
1787
1788 strlcpy(statp->f_mntfromname, vfsp->mnt_stat.f_mntfromname,
1789 sizeof(statp->f_mntfromname));
1790 strlcpy(statp->f_mntonname, vfsp->mnt_stat.f_mntonname,
1791 sizeof(statp->f_mntonname));
1792
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 1776 unchanged lines hidden (view full) ---

1785 */
1786 (void) strlcpy(statp->f_fstypename, "zfs", sizeof(statp->f_fstypename));
1787
1788 strlcpy(statp->f_mntfromname, vfsp->mnt_stat.f_mntfromname,
1789 sizeof(statp->f_mntfromname));
1790 strlcpy(statp->f_mntonname, vfsp->mnt_stat.f_mntonname,
1791 sizeof(statp->f_mntonname));
1792
1793 statp->f_namemax = ZFS_MAXNAMELEN;
1793 statp->f_namemax = MAXNAMELEN - 1;
1794
1795 ZFS_EXIT(zfsvfs);
1796 return (0);
1797}
1798
1799static int
1800zfs_root(vfs_t *vfsp, int flags, vnode_t **vpp)
1801{

--- 717 unchanged lines hidden ---
1794
1795 ZFS_EXIT(zfsvfs);
1796 return (0);
1797}
1798
1799static int
1800zfs_root(vfs_t *vfsp, int flags, vnode_t **vpp)
1801{

--- 717 unchanged lines hidden ---