Date: Thu, 21 Sep 2017 22:33:59 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r323881 - head/sbin/fsck_ffs Message-ID: <201709212233.v8LMXxOe082802@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709212233.v8LMXxOe082802>