summaryrefslogtreecommitdiff
path: root/libbcachefs/chardev.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2017-10-05 14:41:44 -0800
committerKent Overstreet <kent.overstreet@gmail.com>2017-10-08 10:25:33 -0800
commit85ee972555948337bb1a58f0702a4da95db6758f (patch)
tree34f13bce6d9ad221593a45d3ee3b489b777cba04 /libbcachefs/chardev.h
parente7c2bb91bce30a987c8c4e2875f2c63e887d3aa5 (diff)
Update bcachefs sources to e82e656279 bcachefs: Cleanups for building in userspace
Diffstat (limited to 'libbcachefs/chardev.h')
-rw-r--r--libbcachefs/chardev.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libbcachefs/chardev.h b/libbcachefs/chardev.h
index e0e34e24..c3057b07 100644
--- a/libbcachefs/chardev.h
+++ b/libbcachefs/chardev.h
@@ -1,7 +1,7 @@
-#ifndef _BCACHE_CHARDEV_H
-#define _BCACHE_CHARDEV_H
+#ifndef _BCACHEFS_CHARDEV_H
+#define _BCACHEFS_CHARDEV_H
-#ifndef NO_BCACHE_CHARDEV
+#ifndef NO_BCACHEFS_FS
long bch2_fs_ioctl(struct bch_fs *, unsigned, void __user *);
@@ -25,6 +25,6 @@ static inline int bch2_fs_chardev_init(struct bch_fs *c) { return 0; }
static inline void bch2_chardev_exit(void) {}
static inline int __init bch2_chardev_init(void) { return 0; }
-#endif
+#endif /* NO_BCACHEFS_FS */
-#endif /* _BCACHE_CHARDEV_H */
+#endif /* _BCACHEFS_CHARDEV_H */