aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fuse_i.h
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2007-05-02 17:48:09 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2007-05-02 17:48:09 +0000
commitb318b3d69b852fa474576ddcb05286aa6c08577c (patch)
treee98bbcda283c0fdeb3ddfdc3c0dbcceffc37066f /kernel/fuse_i.h
parent79b6209843823ff2776c79563748e18db1b1c946 (diff)
downloadlibfuse-b318b3d69b852fa474576ddcb05286aa6c08577c.tar.gz
kernel: sync with mainline...
Diffstat (limited to 'kernel/fuse_i.h')
-rw-r--r--kernel/fuse_i.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/kernel/fuse_i.h b/kernel/fuse_i.h
index 6d084e2..b9a9ac3 100644
--- a/kernel/fuse_i.h
+++ b/kernel/fuse_i.h
@@ -41,10 +41,16 @@
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
# define KERNEL_2_6_19_PLUS
#endif
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,21)
+# define KERNEL_2_6_21_PLUS
+#endif
#if defined(__arm__) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20)
#define DCACHE_BUG
#endif
+#ifndef KERNEL_2_6_15_PLUS
+#define kmem_cache kmem_cache_s
+#endif
#include "config.h"
#endif /* FUSE_MAINLINE */
@@ -617,3 +623,8 @@ int fuse_ctl_add_conn(struct fuse_conn *fc);
* Remove connection from control filesystem
*/
void fuse_ctl_remove_conn(struct fuse_conn *fc);
+
+/**
+ * Is file type valid?
+ */
+int fuse_valid_type(int m);