[Ocfs2-commits] manish commits r1893 - trunk/kapi-compat/include
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Thu Feb 17 20:22:26 CST 2005
Author: manish
Date: 2005-02-17 20:22:24 -0600 (Thu, 17 Feb 2005)
New Revision: 1893
Modified:
trunk/kapi-compat/include/kref_init.h
trunk/kapi-compat/include/kref_put.h
Log:
#include <linux/kref.h> so we don't munge over the kernel's headers
Modified: trunk/kapi-compat/include/kref_init.h
===================================================================
--- trunk/kapi-compat/include/kref_init.h 2005-02-18 02:03:36 UTC (rev 1892)
+++ trunk/kapi-compat/include/kref_init.h 2005-02-18 02:22:24 UTC (rev 1893)
@@ -1,6 +1,8 @@
#ifndef KAPI_KREF_INIT_H
#define KAPI_KREF_INIT_H
+#include <linux/kref.h>
+
/* kernel folks 1, universe 0 */
#define kref_init(kref_obj, release_func) kref_init(kref_obj)
Modified: trunk/kapi-compat/include/kref_put.h
===================================================================
--- trunk/kapi-compat/include/kref_put.h 2005-02-18 02:03:36 UTC (rev 1892)
+++ trunk/kapi-compat/include/kref_put.h 2005-02-18 02:22:24 UTC (rev 1893)
@@ -1,6 +1,8 @@
#ifndef KAPI_KREF_PUT_H
#define KAPI_KREF_PUT_H
+#include <linux/kref.h>
+
#define kref_put(kref_obj, release_func) kref_put(kref_obj)
#endif /* KAPI_KREF_PUT_H */
More information about the Ocfs2-commits
mailing list