Use UFS_LINK_MAX instead of LINK_MAX.
Submitted by: bde Sponsored by: Chelsio Communications
This commit is contained in:
parent
568aef2f6a
commit
ed8d06aa19
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=323881
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user