Skip to content

Commit bf8a352

Browse files
committed
cifs: correct references in Documentation to old fs/cifs path
The fs/cifs directory has moved to fs/smb/client, correct mentions of this in Documentation and comments. Acked-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]>
1 parent 38c8a9a commit bf8a352

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

Documentation/admin-guide/cifs/changes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ Changes
55
See https://wiki.samba.org/index.php/LinuxCIFSKernel for summary
66
information about fixes/improvements to CIFS/SMB2/SMB3 support (changes
77
to cifs.ko module) by kernel version (and cifs internal module version).
8-
This may be easier to read than parsing the output of "git log fs/cifs"
9-
by release.
8+
This may be easier to read than parsing the output of
9+
"git log fs/smb/client" by release.

Documentation/admin-guide/cifs/usage.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Installation instructions
4545

4646
If you have built the CIFS vfs as module (successfully) simply
4747
type ``make modules_install`` (or if you prefer, manually copy the file to
48-
the modules directory e.g. /lib/modules/2.4.10-4GB/kernel/fs/cifs/cifs.ko).
48+
the modules directory e.g. /lib/modules/6.3.0-060300-generic/kernel/fs/smb/client/cifs.ko).
4949

5050
If you have built the CIFS vfs into the kernel itself, follow the instructions
5151
for your distribution on how to install a new kernel (usually you
@@ -66,15 +66,15 @@ If cifs is built as a module, then the size and number of network buffers
6666
and maximum number of simultaneous requests to one server can be configured.
6767
Changing these from their defaults is not recommended. By executing modinfo::
6868

69-
modinfo kernel/fs/cifs/cifs.ko
69+
modinfo <path to cifs.ko>
7070

71-
on kernel/fs/cifs/cifs.ko the list of configuration changes that can be made
71+
on kernel/fs/smb/client/cifs.ko the list of configuration changes that can be made
7272
at module initialization time (by running insmod cifs.ko) can be seen.
7373

7474
Recommendations
7575
===============
7676

77-
To improve security the SMB2.1 dialect or later (usually will get SMB3) is now
77+
To improve security the SMB2.1 dialect or later (usually will get SMB3.1.1) is now
7878
the new default. To use old dialects (e.g. to mount Windows XP) use "vers=1.0"
7979
on mount (or vers=2.0 for Windows Vista). Note that the CIFS (vers=1.0) is
8080
much older and less secure than the default dialect SMB3 which includes

Documentation/filesystems/cifs/cifsroot.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ the root file system via SMB protocol.
5959
Enables the kernel to mount the root file system via SMB that are
6060
located in the <server-ip> and <share> specified in this option.
6161

62-
The default mount options are set in fs/cifs/cifsroot.c.
62+
The default mount options are set in fs/smb/client/cifsroot.c.
6363

6464
server-ip
6565
IPv4 address of the server.

Documentation/userspace-api/ioctl/ioctl-number.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ Code Seq# Include File Comments
363363
0xCC 00-0F drivers/misc/ibmvmc.h pseries VMC driver
364364
0xCD 01 linux/reiserfs_fs.h
365365
0xCE 01-02 uapi/linux/cxl_mem.h Compute Express Link Memory Devices
366-
0xCF 02 fs/cifs/ioctl.c
366+
0xCF 02 fs/smb/client/cifs_ioctl.h
367367
0xDB 00-0F drivers/char/mwave/mwavepub.h
368368
0xDD 00-3F ZFCP device driver see drivers/s390/scsi/
369369

fs/smb/server/smbfsctl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* SPDX-License-Identifier: LGPL-2.1+ */
22
/*
3-
* fs/cifs/smbfsctl.h: SMB, CIFS, SMB2 FSCTL definitions
3+
* fs/smb/server/smbfsctl.h: SMB, CIFS, SMB2 FSCTL definitions
44
*
55
* Copyright (c) International Business Machines Corp., 2002,2009
66
* Author(s): Steve French ([email protected])

fs/smb/server/smbstatus.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* SPDX-License-Identifier: LGPL-2.1+ */
22
/*
3-
* fs/cifs/smb2status.h
3+
* fs/server/smb2status.h
44
*
55
* SMB2 Status code (network error) definitions
66
* Definitions are from MS-ERREF

0 commit comments

Comments
 (0)