mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Push UIDINFO_UNLOCK() slightly earlier in chgsbize(), as it's not
needed if we print the local variable version of the limit rather than the shared version.
This commit is contained in:
parent
a0a819747c
commit
5dd3a4ed6c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133233
@ -1142,9 +1142,9 @@ chgsbsize(uip, hiwat, to, max)
|
||||
return (0);
|
||||
}
|
||||
uip->ui_sbsize = new;
|
||||
*hiwat = to;
|
||||
if (uip->ui_sbsize < 0)
|
||||
printf("negative sbsize for uid = %d\n", uip->ui_uid);
|
||||
UIDINFO_UNLOCK(uip);
|
||||
*hiwat = to;
|
||||
if (new < 0)
|
||||
printf("negative sbsize for uid = %d\n", uip->ui_uid);
|
||||
return (1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user