[PATCH 1/2] zram: rename struct `table' to `zram_table_entry'

From: Sergey Senozhatsky
Date: Mon Jun 23 2014 - 08:13:32 EST


Andrew Morton has recently noted that `struct table'
actually represents table entry and, thus, should be
renamed. Rename to `zram_table_entry'.

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
---
drivers/block/zram/zram_drv.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/block/zram/zram_drv.h b/drivers/block/zram/zram_drv.h
index 71bc4ad..75d604d 100644
--- a/drivers/block/zram/zram_drv.h
+++ b/drivers/block/zram/zram_drv.h
@@ -74,7 +74,7 @@ enum zram_pageflags {
/*-- Data structures */

/* Allocated for each disk page */
-struct table {
+struct zram_table_entry {
unsigned long handle;
unsigned long value;
};
@@ -92,7 +92,7 @@ struct zram_stats {
};

struct zram_meta {
- struct table *table;
+ struct zram_table_entry *table;
struct zs_pool *mem_pool;
};

--
2.0.0.421.g5428530

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/