mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
Although it should never happen, all the nfsv4 server can do
when it runs out of clientids is reboot. I had replaced cpu_reboot() with printf(), since cpu_reboot() doesn't exist for sparc64. This change replaces the printf() with panic(), so the reboot would occur for this highly unlikely occurrence. Approved by: kib (mentor)
This commit is contained in:
parent
85de716af3
commit
29e890f126
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=192463
@ -3709,7 +3709,7 @@ nfsrv_nextclientindex(void)
|
||||
* In practice, we'll never get here, but the reboot is here,
|
||||
* just for fun. (client_index will not wrap around on any real server)
|
||||
*/
|
||||
printf("you must reboot now\n");
|
||||
panic("nfsv4 server out of clientids");
|
||||
return (0); /* Just to shut the compiler up */
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user