]> git.ipfire.org Git - people/ms/linux.git/commit - block/sed-opal.c
block: sed-opal: Generalizing write data to any opal table
authorRevanth Rajashekar <revanth.rajashekar@intel.com>
Thu, 31 Oct 2019 16:13:20 +0000 (10:13 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 4 Nov 2019 14:11:29 +0000 (07:11 -0700)
commit3495ea1b5f6083b03af062095eecb37283a2cc8f
tree1d5e81db1f3964f0a19c0a154d76cdabf1bb7c08
parentcba22d86e0a10b7070d2e6a7379dbea51aa0883c
block: sed-opal: Generalizing write data to any opal table

This patch refactors the existing "write_shadowmbr" func and
creates a new generalized function "generic_table_write_data",
to write data to any opal table. Also, a few cleanups are included
in this patch.

Reviewed-by: Scott Bauer <sbauer@plzdonthack.me>
Reviewed-by: Jon Derrick <jonathan.derrick@intel.com>
Signed-off-by: Revanth Rajashekar <revanth.rajashekar@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/sed-opal.c