Remove an extraneous setting of sb_hiwat.

This commit is contained in:
green 2000-08-30 00:09:57 +00:00
parent 38b2f8c625
commit 1bc1ec8551
2 changed files with 0 additions and 2 deletions

View File

@ -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;

View File

@ -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;