This is an automated email from the git hooks/post-receive script. sthibault pushed a commit to branch upstream in repository hurd.
commit 672005782e57e049c7c8f4d6d0b2a80c0df512b4 Author: Justus Winter <4win...@informatik.uni-hamburg.de> Date: Sun Dec 8 17:55:14 2013 +0100 trans: fix locking issue in fakeroot * trans/fakeroot.c (netfs_attempt_mkfile): Keep dir locked until the new node is created. --- trans/fakeroot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trans/fakeroot.c b/trans/fakeroot.c index bee018e..b97b499 100644 --- a/trans/fakeroot.c +++ b/trans/fakeroot.c @@ -614,9 +614,9 @@ netfs_attempt_mkfile (struct iouser *user, struct node *dir, file_t newfile; error_t err = dir_mkfile (dir->nn->file, O_RDWR|O_EXEC, real_from_fake_mode (mode), &newfile); - pthread_mutex_unlock (&dir->lock); if (err == 0) err = new_node (newfile, MACH_PORT_NULL, 0, O_RDWR|O_EXEC, np); + pthread_mutex_unlock (&dir->lock); return err; } -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/hurd.git