summaryrefslogtreecommitdiff
path: root/libbcache/notify.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2017-03-19 15:56:34 -0800
committerKent Overstreet <kent.overstreet@gmail.com>2017-03-19 17:31:47 -0800
commit5ec39af8eaba49aee7bafa44c661da39e2f40dc3 (patch)
tree1fb1a981602cbf22c7d2b2dba1168c715d7cecb5 /libbcache/notify.h
parentbb1941de5378a7b8122d3575dcbc7d0aeb6326f0 (diff)
Rename from bcache-tools to bcachefs-tools
Diffstat (limited to 'libbcache/notify.h')
-rw-r--r--libbcache/notify.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/libbcache/notify.h b/libbcache/notify.h
deleted file mode 100644
index 2c1e3679..00000000
--- a/libbcache/notify.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Code for sending uevent notifications to user-space.
- *
- * Copyright 2015 Datera, Inc.
- */
-
-#ifndef _NOTIFY_H
-#define _NOTIFY_H
-
-#ifndef NO_BCACHE_NOTIFY
-
-void bch_notify_fs_read_write(struct bch_fs *);
-void bch_notify_fs_read_only(struct bch_fs *);
-void bch_notify_fs_stopped(struct bch_fs *);
-
-void bch_notify_dev_read_write(struct bch_dev *);
-void bch_notify_dev_read_only(struct bch_dev *);
-void bch_notify_dev_added(struct bch_dev *);
-void bch_notify_dev_error(struct bch_dev *, bool);
-
-#else
-
-static inline void bch_notify_fs_read_write(struct bch_fs *c) {}
-static inline void bch_notify_fs_read_only(struct bch_fs *c) {}
-static inline void bch_notify_fs_stopped(struct bch_fs *c) {}
-
-static inline void bch_notify_dev_read_write(struct bch_dev *ca) {}
-static inline void bch_notify_dev_read_only(struct bch_dev *ca) {}
-static inline void bch_notify_dev_added(struct bch_dev *ca) {}
-static inline void bch_notify_dev_error(struct bch_dev *ca, bool b) {}
-
-#endif
-
-#endif /* _NOTIFY_H */