summaryrefslogtreecommitdiff
path: root/block/blk-pm.h
diff options
context:
space:
mode:
authorMarc Dionne <marc.dionne@auristor.com>2022-11-30 20:55:51 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2022-11-30 21:02:37 +0300
commitef4d3ea40565a781c25847e9cb96c1bd9f462bc6 (patch)
treea1997480de0c6f5647cc2601f0756afd954b603e /block/blk-pm.h
parent04aa64375f48a5d430b5550d9271f8428883e550 (diff)
downloadlinux-ef4d3ea40565a781c25847e9cb96c1bd9f462bc6.tar.xz
afs: Fix server->active leak in afs_put_server
The atomic_read was accidentally replaced with atomic_inc_return, which prevents the server from getting cleaned up and causes rmmod to hang with a warning: Can't purge s=00000001 Fixes: 2757a4dc1849 ("afs: Fix access after dec in put functions") Signed-off-by: Marc Dionne <marc.dionne@auristor.com> Signed-off-by: David Howells <dhowells@redhat.com> Link: https://lore.kernel.org/r/20221130174053.2665818-1-marc.dionne@auristor.com/ Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block/blk-pm.h')
0 files changed, 0 insertions, 0 deletions