All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: Karel Zak <kzak@redhat.com>
Cc: util-linux@vger.kernel.org
Subject: Re: [PATCH 1/2] libmount: add mnt_fs_is_btrfs()
Date: Thu, 23 Feb 2017 19:15:22 +0100	[thread overview]
Message-ID: <20170223181521.3525a2yh2fseznc5@dell5510> (raw)
In-Reply-To: <20170223151214.y4wh2azmfab3wqra@ws.net.home>

Hi Karel,

>  What's wrong with 

>    strcmp(mnt_fs_get_fstype(fs, "btrfs"))

>  why we need FS specific function exported by API?

I'm sorry I mixed two things. I thought that it could be useful for the others (with
btrfs_get_default_subvol_id()) as IMHO there is no btrfs C library atm [1].

Please forget on that, I'll post just v2 with just second patch.


Kind regards,
Petr

[1] https://btrfs.wiki.kernel.org/index.php/Project_ideas#Provide_a_library_covering_.27btrfs.27_functionality

      reply	other threads:[~2017-02-23 18:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-23 14:04 [PATCH 1/2] libmount: add mnt_fs_is_btrfs() Petr Vorel
2017-02-23 14:04 ` [PATCH 2/2] libmount: return tab entry for default node Petr Vorel
2017-02-23 15:12 ` [PATCH 1/2] libmount: add mnt_fs_is_btrfs() Karel Zak
2017-02-23 18:15   ` Petr Vorel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170223181521.3525a2yh2fseznc5@dell5510 \
    --to=pvorel@suse.cz \
    --cc=kzak@redhat.com \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.