linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Li Xi <pkuelelixi@gmail.com>
Cc: kbuild-all@01.org, linux-ext4@vger.kernel.org, tytso@mit.edu,
	adilger@dilger.ca, jack@suse.cz, viro@zeniv.linux.org.uk,
	hch@infradead.org, dmonakhov@openvz.org
Subject: Re: [v16 2/4] ext4: adds project quota support
Date: Mon, 18 Jan 2016 08:07:11 +0800	[thread overview]
Message-ID: <201601180814.X5gJS3Jn%fengguang.wu@intel.com> (raw)
In-Reply-To: <1452588970-18309-3-git-send-email-lixi@ddn.com>

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

Hi Li,

[auto build test ERROR on xfs/for-next]
[also build test ERROR on v4.4]
[cannot apply to ext4/dev next-20160115]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Li-Xi/ext4-add-project-quota-support/20160112-170059
base:   https://git.kernel.org/pub/scm/linux/kernel/git/dgc/linux-xfs.git for-next
config: x86_64-randconfig-s0-01180719 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   fs/ext4/super.c: In function 'ext4_statfs_project':
>> fs/ext4/super.c:4803:10: error: implicit declaration of function 'dqget' [-Werror=implicit-function-declaration]
     dquot = dqget(sb, qid);
             ^
   fs/ext4/super.c:4803:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     dquot = dqget(sb, qid);
           ^
>> fs/ext4/super.c:4830:2: error: implicit declaration of function 'dqput' [-Werror=implicit-function-declaration]
     dqput(dquot);
     ^
   cc1: some warnings being treated as errors

vim +/dqget +4803 fs/ext4/super.c

  4797		struct kqid qid;
  4798		struct dquot *dquot;
  4799		u64 limit;
  4800		u64 curblock;
  4801	
  4802		qid = make_kqid_projid(projid);
> 4803		dquot = dqget(sb, qid);
  4804		if (!dquot)
  4805			return -ESRCH;
  4806		spin_lock(&dq_data_lock);
  4807	
  4808		limit = dquot->dq_dqb.dqb_bsoftlimit ?
  4809			dquot->dq_dqb.dqb_bsoftlimit :
  4810			dquot->dq_dqb.dqb_bhardlimit;
  4811		if (limit && buf->f_blocks * buf->f_bsize > limit) {
  4812			curblock = dquot->dq_dqb.dqb_curspace / buf->f_bsize;
  4813			buf->f_blocks = limit / buf->f_bsize;
  4814			buf->f_bfree = buf->f_bavail =
  4815				(buf->f_blocks > curblock) ?
  4816				 (buf->f_blocks - curblock) : 0;
  4817		}
  4818	
  4819		limit = dquot->dq_dqb.dqb_isoftlimit ?
  4820			dquot->dq_dqb.dqb_isoftlimit :
  4821			dquot->dq_dqb.dqb_ihardlimit;
  4822		if (limit && buf->f_files > limit) {
  4823			buf->f_files = limit;
  4824			buf->f_ffree =
  4825				(buf->f_files > dquot->dq_dqb.dqb_curinodes) ?
  4826				 (buf->f_files - dquot->dq_dqb.dqb_curinodes) : 0;
  4827		}
  4828	
  4829		spin_unlock(&dq_data_lock);
> 4830		dqput(dquot);
  4831		return 0;
  4832	}
  4833	

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 29182 bytes --]

  parent reply	other threads:[~2016-01-18  0:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-12  8:56 [v16 0/4] ext4: add project quota support Li Xi
2016-01-12  8:56 ` [v16 1/4] ext4: adds project ID support Li Xi
2016-01-12  8:56 ` [v16 2/4] ext4: adds project quota support Li Xi
2016-01-12  9:30   ` kbuild test robot
2016-01-12 11:05   ` kbuild test robot
2016-01-18  0:07   ` kbuild test robot [this message]
2016-01-12  8:56 ` [v16 3/4] ext4: adds FS_IOC_FSSETXATTR/FS_IOC_FSGETXATTR interface support Li Xi
2016-01-18  0:16   ` kbuild test robot
2016-01-12  8:56 ` [v16 4/4] ext4: cleanup inode flag definitions Li Xi
2016-01-12 17:45 ` [v16 0/4] ext4: add project quota support Theodore Ts'o
2016-01-13  1:15   ` Li Xi
2016-01-13  3:12     ` Li Xi
2016-01-13  9:52     ` Jan Kara

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=201601180814.X5gJS3Jn%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=adilger@dilger.ca \
    --cc=dmonakhov@openvz.org \
    --cc=hch@infradead.org \
    --cc=jack@suse.cz \
    --cc=kbuild-all@01.org \
    --cc=linux-ext4@vger.kernel.org \
    --cc=pkuelelixi@gmail.com \
    --cc=tytso@mit.edu \
    --cc=viro@zeniv.linux.org.uk \
    /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;
as well as URLs for NNTP newsgroup(s).