From: Sergey Senozhatsky Date: Thu, 25 Jun 2015 22:00:19 +0000 (-0700) Subject: zram: return zram device_id from zram_add() X-Git-Tag: omap-for-v4.2/fixes-rc1^2~106^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92ff15288747b80730f0132e9c98403370c27b34;p=pandora-kernel.git zram: return zram device_id from zram_add() This patch prepares zram to enable on-demand device creation. zram_add() performs automatic device_id assignment and returns new device id (>= 0) or error code (< 0). Signed-off-by: Sergey Senozhatsky Acked-by: Minchan Kim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed