Re: [PATCH RESEND] block: sed-opal: Add ioctl to return device status From: Christoph Hellwig <hch@infradead.org> Date: 2021-08-20 15:26:45 On Wed, Aug 18, 2021 at 07:22:09AM -0500, Douglas Miller wrote:quoted hunk ↗ jump to hunk+++ b/block/sed-opal.c@@ -75,7 +75,11 @@ struct parsed_resp { struct opal_dev { bool supported; + bool locking_supported; + bool locking_enabled; + bool locked; bool mbr_enabled; + bool mbr_done; Please switch all these bools (or u8s in the user space ABI) to flags with descriptive names on an u32 variable.
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help