svn commit: r323881 - head/sbin/fsck_ffs
John Baldwin
jhb at FreeBSD.org
Thu Sep 21 22:34:00 UTC 2017
Author: jhb
Date: Thu Sep 21 22:33:59 2017
New Revision: 323881
URL: https://svnweb.freebsd.org/changeset/base/323881
Log:
Use UFS_LINK_MAX instead of LINK_MAX.
Submitted by: bde
Sponsored by: Chelsio Communications
Modified:
head/sbin/fsck_ffs/suj.c
Modified: head/sbin/fsck_ffs/suj.c
==============================================================================
--- head/sbin/fsck_ffs/suj.c Thu Sep 21 22:15:45 2017 (r323880)
+++ head/sbin/fsck_ffs/suj.c Thu Sep 21 22:33:59 2017 (r323881)
@@ -1395,7 +1395,7 @@ ino_adjust(struct suj_ino *sino)
}
ip = ino_read(ino);
mode = DIP(ip, di_mode) & IFMT;
- if (nlink > LINK_MAX)
+ if (nlink > UFS_LINK_MAX)
err_suj("ino %ju nlink manipulation error, new %ju, old %d\n",
(uintmax_t)ino, (uintmax_t)nlink, DIP(ip, di_nlink));
if (debug)
More information about the svn-src-all
mailing list