Miklos Szeredi 365ae710df fuse: request_end(): do once
When the connection is aborted it is possible that request_end() will be
called twice.  Use atomic test and set to do the actual ending only once.

test_and_set_bit() also provides the necessary barrier semantics so no
explicit smp_wmb() is necessary.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Reviewed-by: Ashish Samant <ashish.samant@oracle.com>
2015-07-01 16:26:06 +02:00
..
2015-07-01 16:26:01 +02:00
2015-07-01 16:26:06 +02:00
2015-07-01 16:26:01 +02:00
2015-07-01 16:26:06 +02:00
2015-07-01 16:26:06 +02:00