]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
raid5-cache: inline r5l_alloc_io_unit into r5l_new_meta
authorChristoph Hellwig <hch@lst.de>
Mon, 5 Oct 2015 07:31:13 +0000 (09:31 +0200)
committerNeilBrown <neilb@suse.com>
Sun, 1 Nov 2015 02:48:28 +0000 (13:48 +1100)
commit51039cd066553689bb82a588b25a6eba7d453837
treec1b85e2ba5cc0cb10e9810d7d3d4d1d37130a84a
parent1e932a37ccb9ad1984823dead4b48902fc5789f4
raid5-cache: inline r5l_alloc_io_unit into r5l_new_meta

This is the only user, and keeping all code initializing the io_unit
structure together improves readbility.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Shaohua Li <shli@fb.com>
Signed-off-by: NeilBrown <neilb@suse.com>
drivers/md/raid5-cache.c