Re: [PATCH 04/11] btrfs: move the space_info handling code to space-info.c

2019-06-25 Thread David Sterba
On Tue, Jun 25, 2019 at 08:54:30AM -0400, Josef Bacik wrote: > On Tue, Jun 25, 2019 at 01:58:43PM +0200, David Sterba wrote: > > On Tue, Jun 18, 2019 at 04:09:19PM -0400, Josef Bacik wrote: > > > --- /dev/null > > > +++ b/fs/btrfs/space-info.c > > > @@ -0,0 +1,177 @@ > > > +/* SPDX-License-Identifi

Re: [PATCH 04/11] btrfs: move the space_info handling code to space-info.c

2019-06-25 Thread Josef Bacik
On Tue, Jun 25, 2019 at 01:58:43PM +0200, David Sterba wrote: > On Tue, Jun 18, 2019 at 04:09:19PM -0400, Josef Bacik wrote: > > --- /dev/null > > +++ b/fs/btrfs/space-info.c > > @@ -0,0 +1,177 @@ > > +/* SPDX-License-Identifier: GPL-2.0 */ > > +/* > > + * Copyright (C) 2019 Facebook. All rights r

Re: [PATCH 04/11] btrfs: move the space_info handling code to space-info.c

2019-06-25 Thread David Sterba
On Tue, Jun 18, 2019 at 04:09:19PM -0400, Josef Bacik wrote: > --- /dev/null > +++ b/fs/btrfs/space-info.c > @@ -0,0 +1,177 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > +/* > + * Copyright (C) 2019 Facebook. All rights reserved. > + */ How does the copyright claim work here? You're just moving

[PATCH 04/11] btrfs: move the space_info handling code to space-info.c

2019-06-18 Thread Josef Bacik
These are the basic init and lookup functions and some helper functions, fairly straightforward before the bad stuff starts. Signed-off-by: Josef Bacik --- fs/btrfs/Makefile | 2 +- fs/btrfs/extent-tree.c | 205 + fs/btrfs/space-info.c | 17