diff options
author | 2015-06-25 15:00:19 -0700 | |
---|---|---|
committer | 2015-06-25 17:00:36 -0700 | |
commit | 92ff15288747b80730f0132e9c98403370c27b34 (patch) | |
tree | 40ccefd330a9a7bef36cf8ff9cd14804ab4cb9f9 /drivers/usb/misc/lvstest.c | |
parent | zram: trivial: correct flag operations comment (diff) | |
download | wireguard-linux-92ff15288747b80730f0132e9c98403370c27b34.tar.xz wireguard-linux-92ff15288747b80730f0132e9c98403370c27b34.zip |
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 <sergey.senozhatsky@gmail.com>
Acked-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/usb/misc/lvstest.c')
0 files changed, 0 insertions, 0 deletions