Displaying 3 results from an estimated 3 matches for "de3b6f5".
2016 Feb 25
5
[PATCH] listfs: ignore the default btrfs subvolume
...btrfs filesystem, ignore the default
subvolume: we get the content of it when mounting the whole device
(without specifying any particular subvolume), so avoid listing it
twice.
---
src/listfs.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/listfs.c b/src/listfs.c
index 98e74c7..de3b6f5 100644
--- a/src/listfs.c
+++ b/src/listfs.c
@@ -169,8 +169,17 @@ check_with_vfs_type (guestfs_h *g, const char *device, struct stringsbuf *sb)
if (vols == NULL)
return -1;
+ int64_t default_volume = guestfs_btrfs_subvolume_get_default (g, device);
+
for (size_t i = 0; i <...
2016 Feb 25
1
Re: [PATCH] listfs: ignore the default btrfs subvolume
...unting the whole device
> > (without specifying any particular subvolume), so avoid listing it
> > twice.
> > ---
> > src/listfs.c | 9 +++++++++
> > 1 file changed, 9 insertions(+)
> >
> > diff --git a/src/listfs.c b/src/listfs.c
> > index 98e74c7..de3b6f5 100644
> > --- a/src/listfs.c
> > +++ b/src/listfs.c
> > @@ -169,8 +169,17 @@ check_with_vfs_type (guestfs_h *g, const char
> > *device, struct stringsbuf *sb)
> > if (vols == NULL)
> > return -1;
> >
> > + int64_t default_volume = gu...
2016 Feb 25
0
Re: [PATCH] listfs: ignore the default btrfs subvolume
...volume: we get the content of it when mounting the whole device
> (without specifying any particular subvolume), so avoid listing it
> twice.
> ---
> src/listfs.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/src/listfs.c b/src/listfs.c
> index 98e74c7..de3b6f5 100644
> --- a/src/listfs.c
> +++ b/src/listfs.c
> @@ -169,8 +169,17 @@ check_with_vfs_type (guestfs_h *g, const char *device, struct stringsbuf *sb)
> if (vols == NULL)
> return -1;
>
> + int64_t default_volume = guestfs_btrfs_subvolume_get_default (g, device)...