From: Miklos Szeredi Date: Wed, 1 Jul 2015 14:26:06 +0000 (+0200) Subject: fuse: request_end(): do once X-Git-Tag: omap-for-v4.2/fixes-rc1^2~41^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=365ae710df91edc97d24817e3271e01bffaaee32;p=pandora-kernel.git 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 Reviewed-by: Ashish Samant --- Reading git-diff-tree failed