Remove an extraneous setting of sb_hiwat.
This commit is contained in:
parent
38b2f8c625
commit
1bc1ec8551
@ -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