Remove an extraneous setting of sb_hiwat.
This commit is contained in:
parent
9fa4c1703e
commit
343079d9b2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65229
@ -431,7 +431,6 @@ sbreserve(sb, cc, so, p)
|
||||
p->p_rlimit[RLIMIT_SBSIZE].rlim_cur)) {
|
||||
return (0);
|
||||
}
|
||||
sb->sb_hiwat = cc;
|
||||
sb->sb_mbmax = min(cc * sb_efficiency, sb_max);
|
||||
if (sb->sb_lowat > sb->sb_hiwat)
|
||||
sb->sb_lowat = sb->sb_hiwat;
|
||||
|
@ -431,7 +431,6 @@ sbreserve(sb, cc, so, p)
|
||||
p->p_rlimit[RLIMIT_SBSIZE].rlim_cur)) {
|
||||
return (0);
|
||||
}
|
||||
sb->sb_hiwat = cc;
|
||||
sb->sb_mbmax = min(cc * sb_efficiency, sb_max);
|
||||
if (sb->sb_lowat > sb->sb_hiwat)
|
||||
sb->sb_lowat = sb->sb_hiwat;
|
||||
|
Loading…
Reference in New Issue
Block a user