From 79cd58704121ce8aa6b849a649ebbc5b80f98688 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 1 Mar 2001 05:02:57 +0000 Subject: [PATCH] added compatibility for kill_fasync() --- include/linux/fs.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 include/linux/fs.h diff --git a/include/linux/fs.h b/include/linux/fs.h new file mode 100644 index 00000000..736b592d --- /dev/null +++ b/include/linux/fs.h @@ -0,0 +1,19 @@ +/* + * linux/fs.h compatibility header + */ + +#ifndef __COMPAT_LINUX_FS_H_ +#define __COMPAT_LINUX_FS_H_ + +#include + +#if LINUX_VERSION_CODE < 0x020400 +#define KILL_FASYNC(a,b,c) kill_fasync((a),(c)) +#else +#define KILL_FASYNC(a,b,c) kill_fasync(&(a),(b),(c)) +#endif + +#include_next + +#endif + -- 2.26.2