Re: [PATCH v5 1/3] Btrfs-progs: move open_file_or_dir() to utils.c

2012-10-31 Thread Anand Jain
Stefan, This is useful. Do you have something which can apply on the latest. Thanks, Anand 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

Re: [PATCH v5 1/3] Btrfs-progs: move open_file_or_dir() to utils.c

2012-10-31 Thread Stefan Behrens
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

Re: [PATCH v5 1/3] Btrfs-progs: move open_file_or_dir() to utils.c

2012-10-31 Thread Goffredo Baroncelli
On Wed, Oct 31, 2012 at 11:34 AM, Anand Jain anand.j...@oracle.com wrote: Stefan, This is useful. Do you have something which can apply on the latest. The patch below has one problem. The functions open_file_or_dir() in btrfsctl.c and in common.c are differents. The former has few perror()

Re: [PATCH v5 1/3] Btrfs-progs: move open_file_or_dir() to utils.c

2012-06-08 Thread Stefan Behrens
On Thu, 07 Jun 2012 21:38:25 +0200, Goffredo Baroncelli wrote: Hi Stefan, On 05/25/2012 04:07 PM, 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

Re: [PATCH v5 1/3] Btrfs-progs: move open_file_or_dir() to utils.c

2012-06-07 Thread Goffredo Baroncelli
Hi Stefan, On 05/25/2012 04:07 PM, 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

[PATCH v5 1/3] Btrfs-progs: move open_file_or_dir() to utils.c

2012-05-25 Thread Stefan Behrens
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