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

From: Mark Brown

Date: Wed Apr 15 2026 - 06:43:49 EST


Hi all,

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

/tmp/next/build/fs/smb/client/smb2ops.c: In function
'smb2_query_dir_first': /tmp/next/build/fs/smb/client/smb2ops.c:2655:70: error: 'CIFS_DYNAMIC_BUFFER' undeclared (first use in this function); did you mean 'CIFS_NO_BUFFER'?
2655 | rc = smb2_parse_query_directory(tcon, &combined_iov, CIFS_DYNAMIC_BUFFER,
| ^~~~~~~~~~~~~~~~~~~
| CIFS_NO_BUFFER

Caused by commit

3777ce7e53f80 (cifs: optimize readdir for small directories)

which really doesn't look like it's a fix - please note that we're in
the merge window and only fixes should be being added at this point.

I have used the tree from next-20260414 instead.

Attachment: signature.asc
Description: PGP signature