[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAMyt5OQooVq=pbovCcVobvEZC-Af1Wu8Ry0sE=4EsagoLNNQ2w@mail.gmail.com>
Date: Fri, 15 Jan 2021 22:24:10 -0500
From: Michael Katzmann <vk2bea@...il.com>
To: linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org
Subject: Re: Changing sd device from read only to read/write fails in 5.10 (BLKROSET)
Sorry, that test in the end was inverted of course.. it should read
if( (DeviceFD = open( /dev/sdb, O_RDWR )) != ERROR ) {
printf("success\n"); // <== use to work (open R/W)
} else {
printf("failure"); // <== now fails under kernel 5.10
}
Powered by blists - more mailing lists