CVSROOT: /cvs Module name: src Changes by: nat...@cvs.openbsd.org 2016/02/27 11:50:38
Modified files: sys/isofs/cd9660: cd9660_vfsops.c sys/ntfs : ntfs_vfsops.c sys/sys : mount.h sys/ufs/ext2fs : ext2fs_inode.c ext2fs_readwrite.c ext2fs_vfsops.c ext2fs_vnops.c sys/ufs/ffs : ffs_inode.c ffs_vfsops.c ffs_vnops.c sys/ufs/ufs : ufs_dirhash.c ufs_lookup.c ufs_vnops.c ufsmount.h Log message: Move mnt_maxsymlink from struct mount to struct ufsmount. The concept of differentiating between "short" and "long" symlinks is specific to ufs/, so it shouldn't creep into the generic fs layer. Inspired by a similar commit to NetBSD. While there replace all references to mnt_maxsymlinklen in ufs/ext2fs with EXT2_MAXSYMLINKLEN, which is the constant max short symlink len for ext2fs. This allows to get rid of some (mnt_maxsymlinklen == 0) checks there, which is always false for ext2fs. input and ok stefan@ ok millert@