On Mon, May 17, 2021 at 12:00:23AM +0000, Kirk McKusick wrote:
> diff --git a/sys/sys/mount.h b/sys/sys/mount.h
> index a6d750a1ff37..f341370ecd86 100644
> --- a/sys/sys/mount.h
> +++ b/sys/sys/mount.h
> @@ -224,7 +224,7 @@ struct mount {
>       int             mnt_writeopcount;       /* (i) write syscalls pending */
>       struct vfsoptlist *mnt_opt;             /* current mount options */
>       struct vfsoptlist *mnt_optnew;          /* new options passed to fs */
> -     int             mnt_maxsymlinklen;      /* max size of short symlink */
> +     uint64_t        mnt_maxsymlinklen;      /* max size of short symlink */
Thank you for the interesting reading in the commit message.

Somewhat (un)related question is, why maxsymlinklen is put into struct mount?
Shouldn't it be contained to struct ufsmount and similar ext2 data structure.
The value is private to UFS, it has no use outside sys/ufs.

_______________________________________________
dev-commits-src-main@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"

Reply via email to