Re: [PATCH] btrfs-progs: Fix partitioned loop devices resolve.

2015-11-12 Thread Florian Margaine
basic idea is obvious) > > Maybe we need libloop.so to share all these things between various > project :-) That would be lovely indeed. > > Karel > Regards, -- Florian Margaine Product Engineer @ Platform.sh https://platform.sh https://keybase.io/fmargaine When using partiti

Re: [PATCH] btrfs-progs: Fix partitioned loop devices resolve.

2015-11-10 Thread Florian Margaine
On 11/09/2015 03:12 PM, Karel Zak wrote: > On Mon, Nov 09, 2015 at 02:06:26PM +0100, Florian Margaine wrote: >> Instead of using string functions to extract the device name and reading >> this file, this patch uses the loop device API through ioctl to get the >>

[PATCH] btrfs-progs: Fix partitioned loop devices resolve.

2015-11-09 Thread Florian Margaine
uses the loop device API through ioctl to get the correct backing file. Signed-off-by: Florian Margaine <flor...@platform.sh> --- utils.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/utils.c b/utils.c index d546bea..73a05e1 100644 --- a/utils.c

Re: [PATCH] btrfs-progs: Fix partitioned loop devices resolve.

2015-11-09 Thread Florian Margaine
On 11/09/2015 03:12 PM, Karel Zak wrote: > On Mon, Nov 09, 2015 at 02:06:26PM +0100, Florian Margaine wrote: >> Instead of using string functions to extract the device name and reading >> this file, this patch uses the loop device API through ioctl to get the >>

[PATCH] Fix partitioned loop devices resolve.

2015-11-09 Thread Florian Margaine
uses the loop device API through ioctl to get the correct backing file. Signed-off-by: Florian Margaine <flor...@platform.sh> --- utils.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/utils.c b/utils.c index d546bea..73a05e1 100644 --- a/utils.c