super.c (10ce3cc919f50c2043b41ca968b43c26a3672600) super.c (8de52778798fe39660a8d6b26f290e0c93202761)
1/*
2 * linux/fs/ufs/super.c
3 *
4 * Copyright (C) 1998
5 * Daniel Pirkl <daniel.pirkl@email.cz>
6 * Charles University, Faculty of Mathematics and Physics
7 */
8

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

1152 maxsymlen = 2 * 4 * (UFS_NDADDR + UFS_NINDIR);
1153 else
1154 maxsymlen = 4 * (UFS_NDADDR + UFS_NINDIR);
1155 if (uspi->s_maxsymlinklen > maxsymlen) {
1156 ufs_warning(sb, __func__, "ufs_read_super: excessive maximum "
1157 "fast symlink size (%u)\n", uspi->s_maxsymlinklen);
1158 uspi->s_maxsymlinklen = maxsymlen;
1159 }
1/*
2 * linux/fs/ufs/super.c
3 *
4 * Copyright (C) 1998
5 * Daniel Pirkl <daniel.pirkl@email.cz>
6 * Charles University, Faculty of Mathematics and Physics
7 */
8

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

1152 maxsymlen = 2 * 4 * (UFS_NDADDR + UFS_NINDIR);
1153 else
1154 maxsymlen = 4 * (UFS_NDADDR + UFS_NINDIR);
1155 if (uspi->s_maxsymlinklen > maxsymlen) {
1156 ufs_warning(sb, __func__, "ufs_read_super: excessive maximum "
1157 "fast symlink size (%u)\n", uspi->s_maxsymlinklen);
1158 uspi->s_maxsymlinklen = maxsymlen;
1159 }
1160 sb->s_max_links = UFS_LINK_MAX;
1160
1161 inode = ufs_iget(sb, UFS_ROOTINO);
1162 if (IS_ERR(inode)) {
1163 ret = PTR_ERR(inode);
1164 goto failed;
1165 }
1166 sb->s_root = d_alloc_root(inode);
1167 if (!sb->s_root) {

--- 343 unchanged lines hidden ---
1161
1162 inode = ufs_iget(sb, UFS_ROOTINO);
1163 if (IS_ERR(inode)) {
1164 ret = PTR_ERR(inode);
1165 goto failed;
1166 }
1167 sb->s_root = d_alloc_root(inode);
1168 if (!sb->s_root) {

--- 343 unchanged lines hidden ---