diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2015-07-01 16:26:06 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2015-07-01 16:26:06 +0200 |
commit | 365ae710df91edc97d24817e3271e01bffaaee32 (patch) | |
tree | 3e535e7168b57fc310119e29947d2281ed60f484 /mm | |
parent | fuse: add req flag for private list (diff) | |
download | linux-365ae710df91edc97d24817e3271e01bffaaee32.tar.xz linux-365ae710df91edc97d24817e3271e01bffaaee32.zip |
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions