On Thu, Apr 16, 2015 at 08:55:55PM +0900, Sergey Senozhatsky wrote: > zram_add requires valid device_id to be provided, that can be a bit > inconvenient. Change zram_add() to return negative value upon new device > creation failure, and device_id (>= 0) value otherwise. > > This prepares zram_add to perform automatic device_id assignment. New > device_id will be returned back to user-space (so user can reference that > device as /dev/zramX). > > Signed-off-by: Sergey Senozhatsky <sergey.senozhat...@gmail.com> Acked-by: Minchan Kim <minc...@kernel.org>
-- Kind regards, Minchan Kim -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/