[PATCH 4.2] zram: fix pool names truncation

From: Sergey Senozhatsky
Date: Tue Aug 11 2015 - 09:34:13 EST


Hello,

found this reading the code just now. I do believe we need this
patch in 4.2 (before 4.3), because the bug breaks new devices
creation under some specific conditions -- new pool names are
getting truncated to only 3 digits and, thus,
debugfs_create_dir() fails.

The commit message contains more details.


Andrew, can you please pick up this patch?


Sergey Senozhatsky (1):
zram: fix max pool limitation

drivers/block/zram/zram_drv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/