Re: [PATCH v2 3/4] block: detect DKIOCGETBLOCKCOUNT/SIZE before use

2021-03-09 Thread Peter Maydell
On Tue, 9 Mar 2021 at 00:30, Joelle van Dyne wrote: > > iOS hosts do not have these defined so we fallback to the > default behaviour. > > Co-authored-by: Warner Losh > Signed-off-by: Joelle van Dyne > --- > block/file-posix.c | 18 +++--- > 1 file changed, 7 insertions(+), 11 delet

[PATCH v2 3/4] block: detect DKIOCGETBLOCKCOUNT/SIZE before use

2021-03-08 Thread Joelle van Dyne
iOS hosts do not have these defined so we fallback to the default behaviour. Co-authored-by: Warner Losh Signed-off-by: Joelle van Dyne --- block/file-posix.c | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/block/file-posix.c b/block/file-posix.c index d1