From: kernel test robot <lkp@intel.com>
To: Boris Burkov <boris@bur.io>,
linux-btrfs@vger.kernel.org, kernel-team@fb.com,
Eric Biggers <ebiggers@kernel.org>
Cc: kbuild-all@lists.01.org
Subject: Re: [PATCH 2/5] btrfs: initial fsverity support
Date: Fri, 5 Feb 2021 11:21:18 +0800 [thread overview]
Message-ID: <202102051123.vTVcl4v6-lkp@intel.com> (raw)
In-Reply-To: <88389022bd9f264f215c9d85fe48214190402fd6.1612475783.git.boris@bur.io>
[-- Attachment #1: Type: text/plain, Size: 3328 bytes --]
Hi Boris,
I love your patch! Yet something to improve:
[auto build test ERROR on v5.11-rc6]
[also build test ERROR on next-20210125]
[cannot apply to kdave/for-next]
[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]
url: https://github.com/0day-ci/linux/commits/Boris-Burkov/btrfs-support-fsverity/20210205-072745
base: 1048ba83fb1c00cd24172e23e8263972f6b5d9ac
config: arc-randconfig-r004-20210204 (attached as .config)
compiler: arc-elf-gcc (GCC) 9.3.0
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/0day-ci/linux/commit/4fb68eb17c9ed350a759646451cba99a19ea7579
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Boris-Burkov/btrfs-support-fsverity/20210205-072745
git checkout 4fb68eb17c9ed350a759646451cba99a19ea7579
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
fs/btrfs/super.c: In function 'btrfs_fill_super':
>> fs/btrfs/super.c:1343:6: error: 'struct super_block' has no member named 's_vop'; did you mean 's_op'?
1343 | sb->s_vop = &btrfs_verityops;
| ^~~~~
| s_op
vim +1343 fs/btrfs/super.c
1329
1330 static int btrfs_fill_super(struct super_block *sb,
1331 struct btrfs_fs_devices *fs_devices,
1332 void *data)
1333 {
1334 struct inode *inode;
1335 struct btrfs_fs_info *fs_info = btrfs_sb(sb);
1336 int err;
1337
1338 sb->s_maxbytes = MAX_LFS_FILESIZE;
1339 sb->s_magic = BTRFS_SUPER_MAGIC;
1340 sb->s_op = &btrfs_super_ops;
1341 sb->s_d_op = &btrfs_dentry_operations;
1342 sb->s_export_op = &btrfs_export_ops;
> 1343 sb->s_vop = &btrfs_verityops;
1344 sb->s_xattr = btrfs_xattr_handlers;
1345 sb->s_time_gran = 1;
1346 #ifdef CONFIG_BTRFS_FS_POSIX_ACL
1347 sb->s_flags |= SB_POSIXACL;
1348 #endif
1349 sb->s_flags |= SB_I_VERSION;
1350 sb->s_iflags |= SB_I_CGROUPWB;
1351
1352 err = super_setup_bdi(sb);
1353 if (err) {
1354 btrfs_err(fs_info, "super_setup_bdi failed");
1355 return err;
1356 }
1357
1358 err = open_ctree(sb, fs_devices, (char *)data);
1359 if (err) {
1360 btrfs_err(fs_info, "open_ctree failed");
1361 return err;
1362 }
1363
1364 inode = btrfs_iget(sb, BTRFS_FIRST_FREE_OBJECTID, fs_info->fs_root);
1365 if (IS_ERR(inode)) {
1366 err = PTR_ERR(inode);
1367 goto fail_close;
1368 }
1369
1370 sb->s_root = d_make_root(inode);
1371 if (!sb->s_root) {
1372 err = -ENOMEM;
1373 goto fail_close;
1374 }
1375
1376 cleancache_init_fs(sb);
1377 sb->s_flags |= SB_ACTIVE;
1378 return 0;
1379
1380 fail_close:
1381 close_ctree(fs_info);
1382 return err;
1383 }
1384
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 29528 bytes --]
next prev parent reply other threads:[~2021-02-05 3:23 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-04 23:21 [PATCH 0/5] btrfs: support fsverity Boris Burkov
2021-02-04 23:21 ` [PATCH 1/5] btrfs: add compat_flags to btrfs_inode_item Boris Burkov
2021-02-04 23:21 ` [PATCH 2/5] btrfs: initial fsverity support Boris Burkov
2021-02-05 3:07 ` kernel test robot
2021-02-05 3:21 ` kernel test robot [this message]
2021-02-05 5:37 ` kernel test robot
2021-02-05 6:39 ` Eric Biggers
2021-02-05 18:14 ` Chris Mason
2021-02-05 8:06 ` Nikolay Borisov
2021-02-05 15:50 ` Chris Mason
2021-02-09 17:57 ` Boris Burkov
2021-02-04 23:21 ` [PATCH 3/5] btrfs: check verity for reads of inline extents and holes Boris Burkov
2021-02-04 23:21 ` [PATCH 4/5] btrfs: fallback to buffered io for verity files Boris Burkov
2021-02-04 23:21 ` [PATCH 5/5] btrfs: add sysfs feature for fsverity Boris Burkov
2021-02-05 6:13 ` [PATCH 0/5] btrfs: support fsverity Eric Biggers
2021-02-05 6:58 ` Boris Burkov
2021-02-05 16:06 ` Chris Mason
2021-02-12 1:19 ` Zygo Blaxell
2021-02-12 17:43 ` Boris Burkov
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=202102051123.vTVcl4v6-lkp@intel.com \
--to=lkp@intel.com \
--cc=boris@bur.io \
--cc=ebiggers@kernel.org \
--cc=kbuild-all@lists.01.org \
--cc=kernel-team@fb.com \
--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;
as well as URLs for NNTP newsgroup(s).