mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [REGRESSION] in Linux 7.0: empty CIFS mount point with vers=1.0
@ 2026-04-16 21:20 Kris Karas (Bug Reporting)
  2026-04-16 22:39 ` Paulo Alcantara
  0 siblings, 1 reply; 3+ messages in thread
From: Kris Karas (Bug Reporting) @ 2026-04-16 21:20 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Paulo Alcantara, Linux Cifs

A bit late to the party, sorry, I should have reported this in 7.0-rcX.

When mounting a CIFS share with vers=1.0, the mount "succeeds" (is added 
to /proc/mounts) but the mountpoint is completely empty.  Even "." and 
".." are missing.  Blindly accessing a known file results in "no such 
file or directory".

Kernels 6.19 and below are not affected.  Using vers=2.0 or vers=3.1.1 
(etc) works fine, but "UNIX File Extensions" is still necessary for my 
workload.  (While "posix" extensions in vers=3.1.1 against Samba Stable 
is getting better, it's not there yet, details on request.)

Example:
     # ls -al /mnt/tmp
     Total 8
     drwxr-xr-x  2 root root 4096 Sep 25  2006 ./
     drwxr-xr-x 12 root root 4096 Apr 11 03:32 ../
     ----------  1 root root    0 Dec 22  2018 filesystem.not.mounted
     # mount -t cifs -o vers=1.0,cred=.creds //Server/Share /mnt/tmp
     # ls -al /mnt/tmp
     Total 0
     #

If Greg KH were reading this, I just know he'd say,
"can you bisect?"  :-)  OK, the winner of the bisect is:

> 4fc3a433c13944ee5766ec5b9bf6f1eb4d29b880 is the first bad commit
> commit 4fc3a433c13944ee5766ec5b9bf6f1eb4d29b880
> Author: Paulo Alcantara <pc@manguebit.org>
> Date:   Mon Feb 23 13:34:35 2026 -0300
> 
>     smb: client: use atomic_t for mnt_cifs_flags
>     
>     Use atomic_t for cifs_sb_info::mnt_cifs_flags as it's currently
>     accessed locklessly and may be changed concurrently in mount/remount
>     and reconnect paths.

I added Paulo to the CC's.

Kris

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-04-17  0:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-16 21:20 [REGRESSION] in Linux 7.0: empty CIFS mount point with vers=1.0 Kris Karas (Bug Reporting)
2026-04-16 22:39 ` Paulo Alcantara
2026-04-17  0:51   ` Kris Karas (Bug Reporting)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®