From: kernel test robot <lkp@intel.com>
To: Ye Bin <yebin@huaweicloud.com>,
tytso@mit.edu, adilger.kernel@dilger.ca,
linux-ext4@vger.kernel.org
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, jack@suse.cz
Subject: Re: [PATCH v2 2/2] ext4: protect ext4_acquire_dquot against freezing
Date: Wed, 25 Nov 2026 23:19:57 +0800 [thread overview]
Message-ID: <20261125231648.ZdN8QBCN-lkp@intel.com> (raw)
In-Reply-To: <20261125111055.3672233-3-yebin@huaweicloud.com>
Hi Ye,
kernel test robot noticed the following build errors:
[auto build test ERROR on tytso-ext4/dev]
[also build test ERROR on linus/master v7.4-rc4]
[cannot apply to brauner-vfs/vfs.all next-20261124]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Ye-Bin/quota-Forbid-Q_XGETQUOTA-and-Q_XGETNEXTQUOTA-for-frozen-filesystem/20261125-191054
base: https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev
patch link: https://lore.kernel.org/r/20261125111055.3672233-3-yebin%40huaweicloud.com
patch subject: [PATCH v2 2/2] ext4: protect ext4_acquire_dquot against freezing
config: hexagon-defconfig (https://download.01.org/0day-ci/archive/20261125/20261125231648.ZdN8QBCN-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 2012344e5da8e03ea4b8283ecd6fad6e13f09d64)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261125/20261125231648.ZdN8QBCN-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261125231648.ZdN8QBCN-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
>> fs/ext4/super.c:7165:6: error: use of undeclared identifier 'freeze_protected'; did you mean 'freeze_processes'?
7165 | if (freeze_protected)
| ^~~~~~~~~~~~~~~~
| freeze_processes
include/linux/freezer.h:84:19: note: 'freeze_processes' declared here
84 | static inline int freeze_processes(void) { return -ENOSYS; }
| ^
>> fs/ext4/super.c:7165:6: warning: address of function 'freeze_processes' will always evaluate to 'true' [-Wpointer-bool-conversion]
7165 | if (freeze_protected)
| ~~ ^~~~~~~~~~~~~~~~
fs/ext4/super.c:7165:6: note: prefix with the address-of operator to silence this warning
7165 | if (freeze_protected)
| ^
| &
1 warning and 1 error generated.
vim +7165 fs/ext4/super.c
7144
7145 static int ext4_write_dquot(struct dquot *dquot)
7146 {
7147 int ret, err;
7148 handle_t *handle;
7149 struct inode *inode;
7150
7151 inode = dquot_to_inode(dquot);
7152 handle = ext4_journal_start(inode, EXT4_HT_QUOTA,
7153 EXT4_QUOTA_TRANS_BLOCKS(dquot->dq_sb));
7154 if (IS_ERR(handle))
7155 return PTR_ERR(handle);
7156 ret = dquot_commit(dquot);
7157 if (ret < 0)
7158 ext4_error_err(dquot->dq_sb, -ret,
7159 "Failed to commit dquot type %d",
7160 dquot->dq_id.type);
7161 err = ext4_journal_stop(handle);
7162 if (!ret)
7163 ret = err;
7164
> 7165 if (freeze_protected)
7166 sb_end_intwrite(dquot->dq_sb);
7167
7168 return ret;
7169 }
7170
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-11-25 15:34 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 11:10 [PATCH v2 0/2] ext4: protect quota acquisition against filesystem freezing Ye Bin
2026-11-25 11:10 ` [PATCH v2 1/2] quota: Forbid Q_XGETQUOTA and Q_XGETNEXTQUOTA for frozen filesystem Ye Bin
2026-11-25 16:29 ` Jan Kara
2026-11-25 11:10 ` [PATCH v2 2/2] ext4: protect ext4_acquire_dquot against freezing Ye Bin
2026-11-25 11:30 ` sashiko-bot
2026-11-25 15:19 ` kernel test robot [this message]
2026-11-25 16:33 ` Jan Kara
2026-11-25 17:58 ` kernel test robot
2026-11-26 6:10 ` yebin (H)
2026-11-26 11:08 ` Jan Kara
2026-11-25 11:30 ` [PATCH v2 0/2] ext4: protect quota acquisition against filesystem freezing sashiko-bot
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=20261125231648.ZdN8QBCN-lkp@intel.com \
--to=lkp@intel.com \
--cc=adilger.kernel@dilger.ca \
--cc=jack@suse.cz \
--cc=linux-ext4@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=tytso@mit.edu \
--cc=yebin@huaweicloud.com \
/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