]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
sed: only re-read partition table after unlock.
authorGreg Joyce <gjoyce@linux.ibm.com>
Fri, 10 May 2024 19:23:11 +0000 (14:23 -0500)
committerDaniel Wagner <wagi@monom.org>
Mon, 13 May 2024 16:44:39 +0000 (18:44 +0200)
commitfac45ce03315479b0d30e71316e669d9d4ffb31c
tree9f6dd44144dc5209d6605990d2dd77256bd93e5b
parent962b19734f3252a1350c5bddb93fed6974e206b3
sed: only re-read partition table after unlock.

The partition table was being re-read after both lock and
unlock operations. The re-read would fail with an error
message after a lock since the partition was no longer readable.

Signed-off-by: Greg Joyce <gjoyce@linux.ibm.com>
plugins/sed/sedopal_cmd.c