ncpfs: Lock socket in ncpfs while setting its callbacks
authorPetr Vandrovec <petr@vandrovec.name>
Wed, 29 Sep 2010 12:39:11 +0000 (14:39 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 5 Oct 2010 09:02:14 +0000 (11:02 +0200)
commit2a4df5d33202e99c015928bf2a2dfd8ad03e53bc
tree3825ceca1afac81dbfe676b4fff9672ce2278d1b
parentb89f432133851a01c0d28822f11cbdcc15781a75
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>
fs/ncpfs/inode.c
This page took 0.146014 seconds and 5 git commands to generate.