diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2017-03-12 06:53:43 -0800 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2017-03-12 06:53:43 -0800 |
commit | d252e12accd8b4fdc0e50b539370b203f3894de9 (patch) | |
tree | 075bef138b2a3bfe4a935dacfaa68d55cb0db7c1 /libbcache/notify.c | |
parent | 3bf874183a518cc1bf785d9944de05cf51a177d3 (diff) |
Refactoring for device specific commands
Diffstat (limited to 'libbcache/notify.c')
-rw-r--r-- | libbcache/notify.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/libbcache/notify.c b/libbcache/notify.c index 1d5f626f..b06a8749 100644 --- a/libbcache/notify.c +++ b/libbcache/notify.c @@ -94,33 +94,6 @@ void bch_notify_dev_added(struct bch_dev *ca) notify_put(c); } -void bch_notify_dev_removing(struct bch_dev *ca) -{ - struct bch_fs *c = ca->fs; - - notify_get_cache(ca); - notify_var(c, "STATE=removing"); - notify_put(c); -} - -void bch_notify_dev_remove_failed(struct bch_dev *ca) -{ - struct bch_fs *c = ca->fs; - - notify_get_cache(ca); - notify_var(c, "STATE=remove_failed"); - notify_put(c); -} - -void bch_notify_dev_removed(struct bch_dev *ca) -{ - struct bch_fs *c = ca->fs; - - notify_get_cache(ca); - notify_var(c, "STATE=removed"); - notify_put(c); -} - void bch_notify_dev_error(struct bch_dev *ca, bool fatal) { struct bch_fs *c = ca->fs; |