aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorSergey Senozhatsky <[email protected]>2015-02-12 23:00:48 +0000
committerLinus Torvalds <[email protected]>2015-02-13 02:54:12 +0000
commitee98016010ae036a5b27300d83bd99ef3fd5776e (patch)
treebaddea4a5c526ff632ebdf7eaed106cb25d5596b /fs/proc/array.c
parentzram: remove init_lock in zram_make_request (diff)
downloadkernel-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