From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Date: Wed, 14 Oct 2020 13:58:01 +0200 From: Michael Olbrich Message-ID: <20201014115801.GF30556@pengutronix.de> References: <20201013124057.yavfr5r66t5z5yie@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201013124057.yavfr5r66t5z5yie@pengutronix.de> Subject: Re: [DistroKit] patch for genimage-12: fix -ENOTTY error List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: distrokit-bounces@pengutronix.de Sender: "DistroKit" To: Roland Hieber Cc: DistroKit@pengutronix.de, "Enrico Weigelt, metux IT consult" On Tue, Oct 13, 2020 at 02:40:57PM +0200, Roland Hieber wrote: > On Mon, Oct 12, 2020 at 06:18:33PM +0200, Enrico Weigelt, metux IT consult wrote: > > Under some circumstances, FS_IOC_FIEMAP ioctl maybe return -ENOTTY > > (possibly on multiarch setup - 32bit userland on 64bit kernel). > > This is case isn't exctly an error, instead another variant of > > operation not supported. Therefore treat it the same like EOPNOTSUPP. > > > > See attachment. > > Thanks, could you also please submit a pull request on > ? There is a pull request for this already[1]. It seems there are multiple situations when this can happen. Michael [1] https://github.com/pengutronix/genimage/pull/116 -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ DistroKit mailing list DistroKit@pengutronix.de