Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Anand Jain <anand.jain@oracle.com>
Cc: kbuild-all@01.org, linux-btrfs@vger.kernel.org
Subject: Re: [PATCH v2] btrfs: fix BUG trying to resume balance without resume flag
Date: Mon, 30 Apr 2018 22:11:58 +0800	[thread overview]
Message-ID: <201804302133.EytDNb04%fengguang.wu@intel.com> (raw)
In-Reply-To: <20180430094845.26229-1-anand.jain@oracle.com>

[-- Attachment #1: Type: text/plain, Size: 1817 bytes --]

Hi Anand,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on btrfs/next]
[also build test ERROR on v4.17-rc3 next-20180430]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Anand-Jain/btrfs-fix-BUG-trying-to-resume-balance-without-resume-flag/20180430-192532
base:   https://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git next
config: i386-randconfig-a1-201817 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   fs/btrfs/volumes.c: In function 'btrfs_resume_balance_async':
>> fs/btrfs/volumes.c:3971:22: error: 'struct btrfs_balance_control' has no member named 'b_flags'
     fs_info->balance_ctl->b_flags |= BTRFS_BALANCE_RESUME;
                         ^

vim +3971 fs/btrfs/volumes.c

  3954	
  3955	int btrfs_resume_balance_async(struct btrfs_fs_info *fs_info)
  3956	{
  3957		struct task_struct *tsk;
  3958	
  3959		spin_lock(&fs_info->balance_lock);
  3960		if (!fs_info->balance_ctl) {
  3961			spin_unlock(&fs_info->balance_lock);
  3962			return 0;
  3963		}
  3964		spin_unlock(&fs_info->balance_lock);
  3965	
  3966		if (btrfs_test_opt(fs_info, SKIP_BALANCE)) {
  3967			btrfs_info(fs_info, "force skipping balance");
  3968			return 0;
  3969		}
  3970	
> 3971		fs_info->balance_ctl->b_flags |= BTRFS_BALANCE_RESUME;
  3972	
  3973		tsk = kthread_run(balance_kthread, fs_info, "btrfs-balance");
  3974		return PTR_ERR_OR_ZERO(tsk);
  3975	}
  3976	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32886 bytes --]

  reply	other threads:[~2018-04-30 14:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-30  9:48 [PATCH v2] btrfs: fix BUG trying to resume balance without resume flag Anand Jain
2018-04-30 14:11 ` kbuild test robot [this message]
2018-04-30 14:12 ` kbuild test robot
2018-05-16 14:35 ` David Sterba
2018-05-17  7:16   ` Anand Jain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201804302133.EytDNb04%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=anand.jain@oracle.com \
    --cc=kbuild-all@01.org \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox