On Wed, Jun 07, 2017 at 11:19:37AM -0700, Omar Sandoval wrote:
> On Fri, Jun 02, 2017 at 06:58:36PM +0200, David Sterba wrote:
> > Update direct callers of btrfs_bio_clone that do error handling, that we
> > can now remove.
> > 
> > Signed-off-by: David Sterba <[email protected]>
> > ---
> >  fs/btrfs/inode.c   | 4 ----
> >  fs/btrfs/volumes.c | 1 -
> >  2 files changed, 5 deletions(-)
> > 
> >  
> >             if (dev_nr < total_devs - 1) {
> >                     bio = btrfs_bio_clone(first_bio, GFP_NOFS);
> > -                   BUG_ON(!bio); /* -ENOMEM */
> >             } else
> >                     bio = first_bio;
> 
> Could you please get rid of the extra curly braces now, too?

Sure, patch updated.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to