lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201601180814.X5gJS3Jn%fengguang.wu@intel.com>
Date:	Mon, 18 Jan 2016 08:07:11 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Li Xi <pkuelelixi@...il.com>
Cc:	kbuild-all@...org, linux-ext4@...r.kernel.org, tytso@....edu,
	adilger@...ger.ca, jack@...e.cz, viro@...iv.linux.org.uk,
	hch@...radead.org, dmonakhov@...nvz.org
Subject: Re: [v16 2/4] ext4: adds project quota support

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

Download attachment ".config.gz" of type "application/octet-stream" (29182 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ