fuse: Kill fasync only if interrupt is queued in queue_interrupt()
authorKirill Tkhai <ktkhai@virtuozzo.com>
Thu, 8 Nov 2018 09:05:20 +0000 (12:05 +0300)
committerMiklos Szeredi <mszeredi@redhat.com>
Wed, 13 Feb 2019 12:15:13 +0000 (13:15 +0100)
commit8da6e9183275c837e7d2401b3018ff81f657a19a
treee236343f7d25d23ede18cfe00cadd76f6b79c7d0
parent340617508d24d699c02a1e8a5ab3f53492f53386
fuse: Kill fasync only if interrupt is queued in queue_interrupt()

We should sent signal only in case of interrupt is really queued.  Not a
real problem, but this makes the code clearer and intuitive.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/dev.c