From: kernel test robot <lkp@intel.com>
To: Artem Blagodarenko <artem.blagodarenko@gmail.com>,
linux-ext4@vger.kernel.org
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
adilger.kernel@dilger.ca, andrew.perepechko@hpe.com,
Artem Blagodarenko <artem.blagodarenko@gmail.com>
Subject: Re: [PATCH v4] ext4: truncate during setxattr leads to kernel panic
Date: Fri, 15 Jul 2022 02:45:10 +0800 [thread overview]
Message-ID: <202207150257.B4gnbAMM-lkp@intel.com> (raw)
In-Reply-To: <20220711145735.53676-1-artem.blagodarenko@gmail.com>
Hi Artem,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on tytso-ext4/dev]
[also build test WARNING on linus/master v5.19-rc6 next-20220714]
[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/Artem-Blagodarenko/ext4-truncate-during-setxattr-leads-to-kernel-panic/20220711-232350
base: https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev
config: hexagon-randconfig-r045-20220714 (https://download.01.org/0day-ci/archive/20220715/202207150257.B4gnbAMM-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 5e61b9c556267086ef9b743a0b57df302eef831b)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/600aeea1cc6d36f380862bb88e50b670e0a57e4f
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Artem-Blagodarenko/ext4-truncate-during-setxattr-leads-to-kernel-panic/20220711-232350
git checkout 600aeea1cc6d36f380862bb88e50b670e0a57e4f
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash fs/btrfs/ fs/ext4/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> fs/ext4/xattr.c:1563:15: warning: no previous prototype for function 'delayed_iput' [-Wmissing-prototypes]
noinline void delayed_iput(struct inode *inode, struct delayed_iput_work *work)
^
fs/ext4/xattr.c:1563:10: note: declare 'static' if the function is not intended to be used outside of this translation unit
noinline void delayed_iput(struct inode *inode, struct delayed_iput_work *work)
^
static
1 warning generated.
vim +/delayed_iput +1563 fs/ext4/xattr.c
1562
> 1563 noinline void delayed_iput(struct inode *inode, struct delayed_iput_work *work)
1564 {
1565 if (!inode) {
1566 kfree(work);
1567 return;
1568 }
1569
1570 if (!work) {
1571 iput(inode);
1572 } else {
1573 INIT_WORK(&work->work, delayed_iput_fn);
1574 work->inode = inode;
1575 queue_work(EXT4_SB(inode->i_sb)->s_misc_wq, &work->work);
1576 }
1577 }
1578
--
0-DAY CI Kernel Test Service
https://01.org/lkp
next prev parent reply other threads:[~2022-07-14 18:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-11 14:57 [PATCH v4] ext4: truncate during setxattr leads to kernel panic Artem Blagodarenko
2022-07-14 10:00 ` kernel test robot
2022-07-14 18:45 ` kernel test robot [this message]
2023-01-04 16:03 ` Jan Kara
2023-01-04 17:00 ` Darrick J. Wong
2023-01-05 11:27 ` 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=202207150257.B4gnbAMM-lkp@intel.com \
--to=lkp@intel.com \
--cc=adilger.kernel@dilger.ca \
--cc=andrew.perepechko@hpe.com \
--cc=artem.blagodarenko@gmail.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-ext4@vger.kernel.org \
--cc=llvm@lists.linux.dev \
/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