Avri, > 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. Applied to 6.10/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering