ocfs2_file_aio_{read,write} are assigned to operations structures, so
the macro-with-parameters form of the #define ends up resulting in
an undeclared symbol. This patch fixes it.
Signed-off-by: Jeff Mahoney <[EMAIL PROTECTED]>
---
kapi-compat/include/aiovec.h | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
--- a/kapi-compat/include/aiovec.h 2008-02-01 19:49:11.000000000 -0500
+++ b/kapi-compat/include/aiovec.h 2008-02-02 10:41:12.000000000 -0500
@@ -57,11 +57,9 @@ static ssize_t ocfs2_file_aio_write(stru
#define kapi_generic_file_aio_read(a, b, c, d) \
generic_file_aio_read(a, b, c, d)
-#define ocfs2_file_aio_read(a, b, c, d) \
- __ocfs2_file_aio_read(a, b, c, d)
+#define ocfs2_file_aio_read __ocfs2_file_aio_read
-#define ocfs2_file_aio_write(a, b, c, d) \
- __ocfs2_file_aio_write(a, b, c, d)
+#define ocfs2_file_aio_write __ocfs2_file_aio_write
#endif
_______________________________________________
Ocfs2-devel mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-devel