[PATCH] [9/11] Convert hpet to unlocked_fasync

From: Andi Kleen
Date: Tue May 20 2008 - 11:31:36 EST



Just calls fasync_helper and private structure is protected by
file reference count.

Cc: clemens@xxxxxxxxxx
Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>

---
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,
};

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/