]> arthur.barton.de Git - netatalk.git/commit
locking: put the Solaris share reservation after our locking stuff
authorRalph Boehme <rb@sernet.de>
Thu, 1 May 2014 09:27:33 +0000 (11:27 +0200)
committerRalph Boehme <rb@sernet.de>
Tue, 20 May 2014 15:49:31 +0000 (17:49 +0200)
commitfe0b74b7dc9e65c6839d16f4103a0a6b23c4cd15
tree0834692905213f4884224d1b7adac402ccffafbd
parent354b12f8b090a5820d3b82939e6fddb440857280
locking: put the Solaris share reservation after our locking stuff

Fix for Bug 560: put the Solaris share reservation after our locking stuff.
Note that this still leaves room for a race condition where between placing our own
locks above and putting the Solaris share move below another client puts a lock.
We then end up with set locks from above and return with an error code, the proper
fix requires a sane cleanup function for the error path in this function.

Signed-off-by: Ralph Boehme <rb@sernet.de>
NEWS
etc/afpd/fork.c