ncpfs: Lock socket in ncpfs while setting its callbacks

Otherwise partially updated pointers could be seen if
pointer update is not atomic.

Signed-off-by: Petr Vandrovec <petr@vandrovec.name>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Petr Vandrovec 2010-09-29 14:39:11 +02:00 • committed by Arnd Bergmann
commit 2a4df5d332