summaryrefslogtreecommitdiff
path: root/block/opal_proto.h
diff options
context:
space:
mode:
authorOndrej Kozina <okozina@redhat.com>2023-04-05 14:12:19 +0300
committerJens Axboe <axboe@kernel.dk>2023-04-05 16:46:25 +0300
commit2fce95b196d34a17ac3f531933d156a8550d5b82 (patch)
tree523dc6b9b20f4a8a2619082e7ba783d215d72482 /block/opal_proto.h
parentae9f5ccea4c268a96763e51239b32d6b5172c18c (diff)
downloadlinux-2fce95b196d34a17ac3f531933d156a8550d5b82.tar.xz
sed-opal: do not add same authority twice in boolean ace.
While adding user authority in boolean ace value of uid OPAL_LOCKINGRANGE_ACE_WRLOCKED or OPAL_LOCKINGRANGE_ACE_RDLOCKED, it was added twice. It seemed redundant when only single authority was added in the set method aka { authority1, authority1, OR }: TCG Storage Architecture Core Specification, 5.1.3.3 ACE_expression "This is an alternative type where the options are either a uidref to an Authority object or one of the boolean_ACE (AND = 0 and OR = 1) options. This type is used within the AC_element list to form a postfix Boolean expression of Authorities." Signed-off-by: Ondrej Kozina <okozina@redhat.com> Tested-by: Luca Boccassi <bluca@debian.org> Tested-by: Milan Broz <gmazyland@gmail.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Acked-by: Christian Brauner <brauner@kernel.org> Link: https://lore.kernel.org/r/20230405111223.272816-2-okozina@redhat.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/opal_proto.h')
0 files changed, 0 insertions, 0 deletions