Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'block-5.19-2022-07-21' of git://git.kernel.dk/linux-block

Pull block fix from Jens Axboe:
"Just a single fix for missing error propagation for an allocation
failure in raid5"

* tag 'block-5.19-2022-07-21' of git://git.kernel.dk/linux-block:
md/raid5: missing error code in setup_conf()

+3 -1
+3 -1
drivers/md/raid5.c
··· 7304 7304 goto abort; 7305 7305 conf->mddev = mddev; 7306 7306 7307 - if ((conf->stripe_hashtbl = kzalloc(PAGE_SIZE, GFP_KERNEL)) == NULL) 7307 + ret = -ENOMEM; 7308 + conf->stripe_hashtbl = kzalloc(PAGE_SIZE, GFP_KERNEL); 7309 + if (!conf->stripe_hashtbl) 7308 7310 goto abort; 7309 7311 7310 7312 /* We init hash_locks[0] separately to that it can be used