[PATCH 2/2] btrfs-progs: Use named constants for common sizes

2017-07-27 Thread Nikolay Borisov
There multiple places where we use well-known sizes - 1,8,16,32 megabytes. We also have them defined as constants in the sizes.h header. So let's use them. No functional changes. Signed-off-by: Nikolay Borisov --- convert/main.c | 8 mkfs/common.c | 2 +- mkfs/main.c| 10 +---

Re: [PATCH 2/2] btrfs-progs: Use named constants for common sizes

2017-07-27 Thread Duncan
Nikolay Borisov posted on Thu, 27 Jul 2017 11:17:00 +0300 as excerpted: > diff --git a/convert/main.c b/convert/main.c > index c56382e915fd..49ab829b5641 100644 > --- a/convert/main.c > +++ b/convert/main.c > @@ -1586,7 +1586,7 @@ next: > * | RSV 1 | | Old | |RSV 2 | | Old | | R

Re: [PATCH 2/2] btrfs-progs: Use named constants for common sizes

2017-08-22 Thread David Sterba
On Thu, Jul 27, 2017 at 09:02:12PM +, Duncan wrote: > Nikolay Borisov posted on Thu, 27 Jul 2017 11:17:00 +0300 as excerpted: > > > diff --git a/convert/main.c b/convert/main.c > > index c56382e915fd..49ab829b5641 100644 > > --- a/convert/main.c > > +++ b/convert/main.c > > > @@ -1586,7 +1586

Re: [PATCH 2/2] btrfs-progs: Use named constants for common sizes

2017-08-22 Thread David Sterba
On Thu, Jul 27, 2017 at 11:17:00AM +0300, Nikolay Borisov wrote: > There multiple places where we use well-known sizes - 1,8,16,32 megabytes. We > also have them defined as constants in the sizes.h header. So let's use them. > No functional changes. Both applied, thanks. -- To unsubscribe from thi