Re: [PATCH v3 3/4] Btrfs: Switch to use new generic UUID API

2019-07-23 Thread Andy Shevchenko
On Thu, Jul 18, 2019 at 07:44:00PM +0200, Johannes Thumshirn wrote: > On Thu, Jul 18, 2019 at 08:38:42PM +0300, Andy Shevchenko wrote: > > On Thu, Jul 18, 2019 at 07:20:17PM +0200, Johannes Thumshirn wrote: > > > On Wed, Jul 17, 2019 at 02:36:32PM +0300, Andy Shevchenko wrote: > > > > There are new

Re: [PATCH v3 3/4] Btrfs: Switch to use new generic UUID API

2019-07-18 Thread Johannes Thumshirn
On Thu, Jul 18, 2019 at 08:38:42PM +0300, Andy Shevchenko wrote: > On Thu, Jul 18, 2019 at 07:20:17PM +0200, Johannes Thumshirn wrote: > > On Wed, Jul 17, 2019 at 02:36:32PM +0300, Andy Shevchenko wrote: > > > There are new types and helpers that are supposed to be used in new code. > > > > > > As

Re: [PATCH v3 3/4] Btrfs: Switch to use new generic UUID API

2019-07-18 Thread Andy Shevchenko
On Thu, Jul 18, 2019 at 07:20:17PM +0200, Johannes Thumshirn wrote: > On Wed, Jul 17, 2019 at 02:36:32PM +0300, Andy Shevchenko wrote: > > There are new types and helpers that are supposed to be used in new code. > > > > As a preparation to get rid of legacy types and API functions do > > the conv

Re: [PATCH v3 3/4] Btrfs: Switch to use new generic UUID API

2019-07-18 Thread Johannes Thumshirn
On Wed, Jul 17, 2019 at 02:36:32PM +0300, Andy Shevchenko wrote: > There are new types and helpers that are supposed to be used in new code. > > As a preparation to get rid of legacy types and API functions do > the conversion here. Why? What was broken in the old versions? What benefit do we hav

[PATCH v3 3/4] Btrfs: Switch to use new generic UUID API

2019-07-17 Thread Andy Shevchenko
There are new types and helpers that are supposed to be used in new code. As a preparation to get rid of legacy types and API functions do the conversion here. Signed-off-by: Andy Shevchenko --- fs/btrfs/disk-io.c | 6 +++--- fs/btrfs/ioctl.c | 4 +--- fs/btrfs/root-tree.c | 4 +---