smbd: Fix CID 1414783 Double unlock
authorVolker Lendecke <vl@samba.org>
Tue, 10 Apr 2018 19:27:47 +0000 (21:27 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 11 Apr 2018 17:07:24 +0000 (19:07 +0200)
commitd40891a14683a9cc8951ad36fb9e09831b7122af
treee6c4de3e2595128b6a8c2e85bcff2c83b583ee72
parente7522a4ff8124b8d7bfad9c805dd140475d418e2
smbd: Fix CID 1414783 Double unlock

The loop is unnecessary, both susv4 as well as the Linux manpage
explicitly say:

> These functions shall not return an error code of [EINTR].

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/process.c