summaryrefslogtreecommitdiff
path: root/drivers/ras
diff options
context:
space:
mode:
authorMd Haris Iqbal <haris.iqbal@cloud.ionos.com>2020-11-26 11:47:23 +0100
committerJens Axboe <axboe@kernel.dk>2020-12-04 09:41:10 -0700
commit64e8a6ece1a5b1fa21316918053d068baeac84af (patch)
treeaef17e5ce038cad7ac4895d835d472055ea34a21 /drivers/ras
parentd3a95ccaaf4df94743a958c90ab85f4703e3a687 (diff)
block/rnbd-clt: Dynamically alloc buffer for pathname & blk_symlink_name
For every rnbd_clt_dev, we alloc the pathname and blk_symlink_name statically to NAME_MAX which is 255 bytes. In most of the cases we only need less than 10 bytes, so 500 bytes per block device are wasted. This commit dynamically allocates memory buffer for pathname and blk_symlink_name. Signed-off-by: Md Haris Iqbal <haris.iqbal@cloud.ionos.com> Signed-off-by: Jack Wang <jinpu.wang@cloud.ionos.com> Reviewed-by: Lutz Pogrell <lutz.pogrell@cloud.ionos.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/ras')
0 files changed, 0 insertions, 0 deletions