One more minor change (fs/smb/common/Makefile was missing a two line change). Running automated tests now. Attached updated patch On Tue, May 23, 2023 at 9:41 PM Steve French <smfrench@xxxxxxxxx> wrote: > > Lightly updated (e.g. to include a missing trivial change needed to > Documentation/filesystems/index.rst that Namjae noticed). See > attached. > > Presumably can defer the additional cleanup/prettying (ie those beyond > those required for the directory rename) with distinct patches later. > > On Tue, May 23, 2023 at 12:35 PM Linus Torvalds > <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote: > > > > On Mon, May 22, 2023 at 11:39 PM Steve French <smfrench@xxxxxxxxx> wrote: > > > > > > My reason for adding CONFIG_SMB_CLIENT, enabling CONFIG_SMB_CLIENT > > > when CONFIG_CIFS was enabled, I was trying to make the Makefile more clear > > > (without changing any behavior): > > > > That sounds ok, but I think it should be done separately from the > > move. Keep the move as a pure move/rename, not "new things". > > > > Also, when you actually do this cleanup, I think you really should just do > > > > config SMB > > tristate > > > > config SMB_CLIENT > > tristate > > > > to declare them, but *not* have that > > > > default y if CIFS=y || SMB_SERVER=y > > default m if CIFS=m || SMB_SERVER=m > > > > kind of noise anywhere. Not for SMBFS, not for SMB_CLIENT. > > > > Just do > > > > select SMBFS > > select SMB_CLIENT > > > > in the current CIFS Kconfig entry. And then SMB_SERVER can likewise do > > > > select SMBFS > > > > and I think it will all automatically do what those much more complex > > "default" expressions currently do. > > > > But again - I think this kind of "clean things up" should be entirely > > separate from the pure code movement. Don't do new functionality when > > moving things, just do the minimal required infrastructure changes to > > make things work with the movement. > > > > Linus > > > > -- > Thanks, > > Steve -- Thanks, Steve
From 4f0d0031cb97201fdaf4ccc3619310e200fae7ac Mon Sep 17 00:00:00 2001 From: Steve French <stfrench@xxxxxxxxxxxxx> Date: Mon, 22 May 2023 09:50:33 -0500 Subject: [PATCH] smb3: move Documentation/filesystems/cifs to Documentation/filesystems/smb Documentation/filesystems/cifs contains both server and client information so its pathname is misleading. In addition, the directory fs/smb now contains both server and client, so move Documentation/filesystems/cifs to Documentation/filesystems/smb Suggested-by: Namjae Jeon <linkinjeon@xxxxxxxxxx> Acked-by: Namjae Jeon <linkinjeon@xxxxxxxxxx> Signed-off-by: Steve French <stfrench@xxxxxxxxxxxxx> --- Documentation/filesystems/index.rst | 2 +- Documentation/filesystems/{cifs => smb}/cifsroot.rst | 0 Documentation/filesystems/{cifs => smb}/index.rst | 0 Documentation/filesystems/{cifs => smb}/ksmbd.rst | 0 MAINTAINERS | 2 +- 5 files changed, 2 insertions(+), 2 deletions(-) rename Documentation/filesystems/{cifs => smb}/cifsroot.rst (100%) rename Documentation/filesystems/{cifs => smb}/index.rst (100%) rename Documentation/filesystems/{cifs => smb}/ksmbd.rst (100%) diff --git a/Documentation/filesystems/index.rst b/Documentation/filesystems/index.rst index fbb2b5ada95b..eb252fc972aa 100644 --- a/Documentation/filesystems/index.rst +++ b/Documentation/filesystems/index.rst @@ -72,7 +72,6 @@ Documentation for filesystem implementations. befs bfs btrfs - cifs/index ceph coda configfs @@ -111,6 +110,7 @@ Documentation for filesystem implementations. ramfs-rootfs-initramfs relay romfs + smb/index spufs/index squashfs sysfs diff --git a/Documentation/filesystems/cifs/cifsroot.rst b/Documentation/filesystems/smb/cifsroot.rst similarity index 100% rename from Documentation/filesystems/cifs/cifsroot.rst rename to Documentation/filesystems/smb/cifsroot.rst diff --git a/Documentation/filesystems/cifs/index.rst b/Documentation/filesystems/smb/index.rst similarity index 100% rename from Documentation/filesystems/cifs/index.rst rename to Documentation/filesystems/smb/index.rst diff --git a/Documentation/filesystems/cifs/ksmbd.rst b/Documentation/filesystems/smb/ksmbd.rst similarity index 100% rename from Documentation/filesystems/cifs/ksmbd.rst rename to Documentation/filesystems/smb/ksmbd.rst diff --git a/MAINTAINERS b/MAINTAINERS index 902f763e845d..6152a4251ce7 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11300,7 +11300,7 @@ R: Tom Talpey <tom@xxxxxxxxxx> L: linux-cifs@xxxxxxxxxxxxxxx S: Maintained T: git git://git.samba.org/ksmbd.git -F: Documentation/filesystems/cifs/ksmbd.rst +F: Documentation/filesystems/smb/ksmbd.rst F: fs/smb/common/ F: fs/smb/server/ -- 2.34.1