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>
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,
};
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
file reference count.
Cc: clemens@ladisch.de
Signed-off-by: Andi Kleen <ak@linux.intel.com>
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,
};
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/