aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/md/dm-vdo/vdo.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/dm-vdo/vdo.h')
-rw-r--r--drivers/md/dm-vdo/vdo.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/md/dm-vdo/vdo.h b/drivers/md/dm-vdo/vdo.h
index 01558fc67f24..483ae873e002 100644
--- a/drivers/md/dm-vdo/vdo.h
+++ b/drivers/md/dm-vdo/vdo.h
@@ -10,7 +10,6 @@
#include <linux/blk_types.h>
#include <linux/completion.h>
#include <linux/dm-kcopyd.h>
-#include <linux/kobject.h>
#include <linux/list.h>
#include <linux/spinlock.h>
@@ -248,11 +247,6 @@ struct vdo {
struct vdo_statistics stats_buffer;
/* Protects the stats_buffer */
struct mutex stats_mutex;
- /* true if sysfs directory is set up */
- bool sysfs_added;
- /* Used when shutting down the sysfs statistics */
- struct completion stats_shutdown;
-
/* A list of all device_configs referencing this vdo */
struct list_head device_config_list;
@@ -264,15 +258,10 @@ struct vdo {
u64 starting_sector_offset;
struct volume_geometry geometry;
- /* For sysfs */
- struct kobject vdo_directory;
- struct kobject stats_directory;
-
/* N blobs of context data for LZ4 code, one per CPU thread. */
char **compression_context;
};
-
/**
* vdo_uses_bio_ack_queue() - Indicate whether the vdo is configured to use a separate work queue
* for acknowledging received and processed bios.
@@ -315,8 +304,6 @@ void vdo_destroy(struct vdo *vdo);
void vdo_load_super_block(struct vdo *vdo, struct vdo_completion *parent);
-int __must_check vdo_add_sysfs_stats_dir(struct vdo *vdo);
-
struct block_device * __must_check vdo_get_backing_device(const struct vdo *vdo);
const char * __must_check vdo_get_device_name(const struct dm_target *target);