Just calls fasync_helper and private structure is protected by
file reference count.
Cc: clemens@ladisch.de
Signed-off-by: Andi Kleen <ak@linux.intel.com>
---
drivers/char/hpet.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux/drivers/char/hpet.c
===================================================================
--- linux.orig/drivers/char/hpet.c
+++ linux/drivers/char/hpet.c
@@ -585,7 +585,7 @@ static const struct file_operations hpet
.ioctl = hpet_ioctl,
.open = hpet_open,
.release = hpet_release,
- .fasync = hpet_fasync,
+ .unlocked_fasync = hpet_fasync,
.mmap = hpet_mmap,
};
--