linux-next: build failure after merge of the nfsd tree

From: Mark Brown

Date: Wed Jun 03 2026 - 04:32:17 EST


Hi all,

After merging the nfsd tree, today's linux-next build (x86_64
allmodconfig) failed like this:

ld.lld: error: duplicate symbol: cifs_fileattr_get
>>> defined at cifsfs.c
>>> fs/smb/client/cifsfs.o:(cifs_fileattr_get)
>>> defined at inode.c
>>> fs/smb/client/inode.o:(.text+0x14780)

Caused by commit

e50bc12f5a365 (cifs: Implement fileattr_get for case sensitivity)

interacting with

4adb7181f4d80 (smb: client: implement fileattr_get to support FS_IOC_GETFLAGS)

from the cifs tree. I have applied a revert of the latter purely
because it is the most recent of the two commits and doing so fixes the
build but I do not think this is the best fix, it looks like we need a
merge of the two (eg, adding cifs_revalidate_dentry_attr() to the nfsd
version).

Attachment: signature.asc
Description: PGP signature