diff options
| author | Sergey Senozhatsky <[email protected]> | 2015-02-12 23:00:48 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-02-13 02:54:12 +0000 |
| commit | ee98016010ae036a5b27300d83bd99ef3fd5776e (patch) | |
| tree | baddea4a5c526ff632ebdf7eaed106cb25d5596b /fs/proc/array.c | |
| parent | zram: remove init_lock in zram_make_request (diff) | |
| download | kernel-ee98016010ae036a5b27300d83bd99ef3fd5776e.tar.gz kernel-ee98016010ae036a5b27300d83bd99ef3fd5776e.zip | |
zram: remove request_queue from struct zram
`struct zram' contains both `struct gendisk' and `struct request_queue'.
the latter can be deleted, because zram->disk carries ->queue pointer, and
->queue carries zram pointer:
create_device()
zram->queue->queuedata = zram
zram->disk->queue = zram->queue
zram->disk->private_data = zram
so zram->queue is not needed, we can access all necessary data anyway.
Signed-off-by: Sergey Senozhatsky <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Jerome Marchand <[email protected]>
Cc: Nitin Gupta <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
