linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Sterba <dsterba@suse.cz>
To: Anand Jain <anand.jain@oracle.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: [PATCH 1/2 v14] btrfs: refactor btrfs_free_stale_devices() to get return value
Date: Fri, 18 Jan 2019 18:47:30 +0100	[thread overview]
Message-ID: <20190118174730.GE2900@twin.jikos.cz> (raw)
In-Reply-To: <1546579914-14971-3-git-send-email-anand.jain@oracle.com>

On Fri, Jan 04, 2019 at 01:31:53PM +0800, Anand Jain wrote:
> Preparatory patch to add forget cli.
> 
> Re-factors btrfs_free_stale_devices() to obtain return status. As
> this function can fail if it can't find the given path (returns -ENOENT)
> or trying to delete a mounted device (returns -EBUSY).
> 
> Signed-off-by: Anand Jain <anand.jain@oracle.com>
> ---

Reviewed-by: David Sterba <dsterba@suse.com>

I've added this patch to the other device-related cleanups sent recently.

  reply	other threads:[~2019-01-18 17:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-04  5:31 [PATCH v14] Add cli and ioctl to forget scanned device(s) Anand Jain
2019-01-04  5:31 ` [PATCH v14] btrfs-progs: add cli to forget one or all scanned devices Anand Jain
2019-01-04  5:31 ` [PATCH 1/2 v14] btrfs: refactor btrfs_free_stale_devices() to get return value Anand Jain
2019-01-18 17:47   ` David Sterba [this message]
2019-01-04  5:31 ` [PATCH 2/2 v14] btrfs: introduce feature to forget a btrfs device Anand Jain
2019-01-04 15:13 ` [PATCH v14] Add cli and ioctl to forget scanned device(s) David Sterba
2019-01-07 17:28 ` David Sterba
2019-01-08  5:16   ` Anand Jain
2019-02-06 15:28     ` David Sterba
2019-02-06 15:33 ` David Sterba
2019-02-06 22:13   ` Anand Jain

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=20190118174730.GE2900@twin.jikos.cz \
    --to=dsterba@suse.cz \
    --cc=anand.jain@oracle.com \
    --cc=linux-btrfs@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).