1 #ifndef _BCACHE_CHARDEV_H
2 #define _BCACHE_CHARDEV_H
4 #ifndef NO_BCACHE_CHARDEV
6 long bch_fs_ioctl(struct cache_set *, unsigned, void __user *);
8 void bch_fs_chardev_exit(struct cache_set *);
9 int bch_fs_chardev_init(struct cache_set *);
11 void bch_chardev_exit(void);
12 int __init bch_chardev_init(void);
16 static inline long bch_fs_ioctl(struct cache_set *c,
17 unsigned cmd, void __user * arg)
22 static inline void bch_fs_chardev_exit(struct cache_set *c) {}
23 static inline int bch_fs_chardev_init(struct cache_set *c) { return 0; }
25 static inline void bch_chardev_exit(void) {}
26 static inline int __init bch_chardev_init(void) { return 0; }
30 #endif /* _BCACHE_CHARDEV_H */