All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Behrens <sbehrens@giantdisaster.de>
To: Anand Jain <Anand.Jain@oracle.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: [PATCH v5 1/3] Btrfs-progs: move open_file_or_dir() to utils.c
Date: Wed, 31 Oct 2012 12:37:12 +0100	[thread overview]
Message-ID: <50910D68.4020406@giantdisaster.de> (raw)
In-Reply-To: <5090FE9D.6050907@oracle.com>

On Wed, 31 Oct 2012 18:34:05 +0800, Anand Jain wrote:
>  This is useful. Do you have something which can apply on the latest.

No. But your message is a good reminder to me to rebase and resend the
btrfs-progs patchset for the device stats support. It's already 5 month
old and was not integrated at that time. Now it's outdated and I need to
rework and resend it. The patch you mention is a part of the device
stats patchset.

If you need this "move open_file_or_dir() to utils.c" thing quickly (in
the next two weeks), please send such a patch yourself (but not like I
did it, Hugo was absolutely right to get upset when I was moving and
changing a function in one go
<http://www.spinics.net/lists/linux-btrfs/msg17067.html>).

Stefan

> 
> On 25/05/12 22:07, Stefan Behrens wrote:
>> This is a preparation step to add support for device stats. The
>> definition
>> of the function open_file_or_dir() is moved from common.c to utils.c in
>> order to be able to share some common code between scrub and the device
>> stats in the following step. That common code uses open_file_or_dir().
>> Since open_file_or_dir() makes use of the function dirfd(3), the required
>> XOPEN version was raised from 6 to 7.
>>
>> Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
>> ---
>>   Makefile         |    4 ++--
>>   btrfsctl.c       |   28 ----------------------------
>>   cmds-balance.c   |    1 +
>>   cmds-inspect.c   |    1 +
>>   cmds-subvolume.c |    1 +
>>   commands.h       |    3 ---
>>   common.c         |   46 ----------------------------------------------
>>   utils.c          |   31 +++++++++++++++++++++++++++++--
>>   utils.h          |    3 +++
>>   9 files changed, 37 insertions(+), 81 deletions(-)


  reply	other threads:[~2012-10-31 11:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-25 14:07 [PATCH v5 0/3] Btrfs-progs: support get/reset device stats via ioctl Stefan Behrens
2012-05-25 14:07 ` [PATCH v5 1/3] Btrfs-progs: move open_file_or_dir() to utils.c Stefan Behrens
2012-06-07 19:38   ` Goffredo Baroncelli
2012-06-08  7:30     ` Stefan Behrens
2012-10-31 10:34   ` Anand Jain
2012-10-31 11:37     ` Stefan Behrens [this message]
2012-10-31 12:37     ` Goffredo Baroncelli
2012-05-25 14:07 ` [PATCH v5 2/3] Btrfs-progs: make two utility functions globally available Stefan Behrens
2012-06-06 18:16   ` Hugo Mills
2012-06-07 12:35     ` Stefan Behrens
2012-05-25 14:07 ` [PATCH v5 3/3] Btrfs-progs: add command to get/reset device stats via ioctl Stefan Behrens

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=50910D68.4020406@giantdisaster.de \
    --to=sbehrens@giantdisaster.de \
    --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 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.