From: Al Viro Date: Wed, 11 Jan 2012 03:35:38 +0000 (-0500) Subject: autofs4: deal with autofs4_write/autofs4_write races X-Git-Tag: v3.3-rc1~106^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d668dc56631da067540b2494d2a1f29ff7b5f15a;p=pandora-kernel.git autofs4: deal with autofs4_write/autofs4_write races Just serialize the actual writing of packets into pipe on a new mutex, independent from everything else in the locking hierarchy. As soon as something has started feeding a piece of packet into the pipe to daemon, we *want* everything else about to try the same to wait until we are done. Acked-by: Ian Kent Signed-off-by: Al Viro --- Reading git-diff-tree failed