]> git.lizzy.rs Git - plan9front.git/commit
lib9p: remove Srv.srvfd, make postsrv() and threadpostsrv() return the mountable...
authorcinap_lenrek <cinap_lenrek@felloff.net>
Sat, 1 May 2021 17:58:58 +0000 (19:58 +0200)
committercinap_lenrek <cinap_lenrek@felloff.net>
Sat, 1 May 2021 17:58:58 +0000 (19:58 +0200)
commitee289c241577a3553bfd73211cd81e137ab4fe40
tree8f40ebfb2769de543c133120c5dbc468beddc9eb
parent57c21ae441d1b6af38ce310ffec87340488ed84b
lib9p: remove Srv.srvfd, make postsrv() and threadpostsrv() return the mountable file descriptor, update documentation

Now that we have these new functions,
we can also make them return an error
instead of calling sysfatal() like
postmountsrv().

Remove the confusing Srv.srvfd, as it
is only temporarily used and return
it from postsrv() instead.
sys/include/9p.h
sys/man/2/9p
sys/src/cmd/aux/wacom.c
sys/src/lib9p/listen.c
sys/src/lib9p/mount.c
sys/src/lib9p/post.c
sys/src/lib9p/share.c
sys/src/lib9p/threadpostsrv.c