Revert "zram: use zram->lock to protect zram_free_page() in swap free notify path"
[pandora-kernel.git] / drivers / staging / zram / zram_drv.h
index 87f2fec..e5cd246 100644 (file)
@@ -107,9 +107,8 @@ struct zram {
        void *compress_buffer;
        struct table *table;
        spinlock_t stat64_lock; /* protect 64-bit stats */
-       struct rw_semaphore lock; /* protect compression buffers, table,
-                                  * 32bit stat counters against concurrent
-                                  * notifications, reads and writes */
+       struct rw_semaphore lock; /* protect compression buffers and table
+                                  * against concurrent read and writes */
        struct request_queue *queue;
        struct gendisk *disk;
        int init_done;