From: kernel test robot <lkp@intel.com>
To: Keith Busch <kbusch@kernel.org>
Cc: <oe-kbuild-all@lists.linux.dev>, 0day robot <lkp@intel.com>
Subject: fs/file_attr.c:100:24: error: implicit declaration of function 'bdev_fileattr'
Date: Sun, 23 Aug 2026 21:21:32 +0800 [thread overview]
Message-ID: <202608230621.c9CRXHtf-lkp@intel.com> (raw)
tree: https://github.com/intel-lab-lkp/linux/commits/Keith-Busch/fs-add-direct-io-attributes-to-file_getattr/20260815-124138
head: 6501161303f993815f8074b592e0f7c264537f72
commit: 311da0a53d527a6287f6d3fd89bcf394c03f663b block: report direct io attributes through file_getattr
date: 8 days ago
config: x86_64-randconfig-2005-20250721 (https://download.01.org/0day-ci/archive/20260823/202608230621.c9CRXHtf-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260823/202608230621.c9CRXHtf-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/202608230621.c9CRXHtf-lkp@intel.com/
All errors (new ones prefixed by >>):
fs/file_attr.c: In function 'vfs_fileattr_get':
>> fs/file_attr.c:100:24: error: implicit declaration of function 'bdev_fileattr' [-Wimplicit-function-declaration]
100 | return bdev_fileattr(inode, fa);
| ^~~~~~~~~~~~~
vim +/bdev_fileattr +100 fs/file_attr.c
77
78 /**
79 * vfs_fileattr_get - retrieve miscellaneous file attributes
80 * @dentry: the object to retrieve from
81 * @fa: fileattr pointer
82 *
83 * Call i_op->fileattr_get() callback, if exists.
84 *
85 * Return: 0 on success, or a negative error on failure.
86 */
87 int vfs_fileattr_get(struct dentry *dentry, struct file_kattr *fa)
88 {
89 struct inode *inode = d_inode(dentry);
90 int error;
91
92 if (!inode->i_op->fileattr_get && !S_ISBLK(inode->i_mode))
93 return -ENOIOCTLCMD;
94
95 error = security_inode_file_getattr(dentry, fa);
96 if (error)
97 return error;
98
99 if (!inode->i_op->fileattr_get)
> 100 return bdev_fileattr(inode, fa);
101
102 return inode->i_op->fileattr_get(dentry, fa);
103 }
104 EXPORT_SYMBOL(vfs_fileattr_get);
105
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-08-23 13:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202608230621.c9CRXHtf-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbusch@kernel.org \
--cc=oe-kbuild-all@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.