From: Martin K. Petersen Date: Mon, 25 Mar 2024 20:51:18 +0000 (-0400) Subject: Merge patch series "Re-use device management code fragments" X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e831b92b37c6ce586b0beca27cf48b5df69f0d67;p=linux.git Merge patch series "Re-use device management code fragments" Avri Altman says: Device management commands are constructed for query commands that are being issued by the driver, but also for raw device management commands originated by the bsg module, and recently, by the advanced rpmb handler. Thus, the same code fragments, e.g. locking, composing the command, composing the upiu etc., appear over and over. Remove those duplications. Theoretically, there should be no functional change. Link: https://lore.kernel.org/r/20240309081104.5006-1-avri.altman@wdc.com Signed-off-by: Martin K. Petersen --- e831b92b37c6ce586b0beca27cf48b5df69f0d67