Эх сурвалжийг харах

Documentation: move mandatory locking documentation to filesystems/

Shouldn't this mandatory-locking documentation be in the
Documentation/filesystems directory?

Give it a more descriptive name while we're at it, and update 00-INDEX
with a more inclusive description of Documentation/filesystems (which
has already talked about more than just individual filesystems).

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
J. Bruce Fields 17 жил өмнө
parent
commit
4f3b19ca41

+ 1 - 3
Documentation/00-INDEX

@@ -145,7 +145,7 @@ fb/
 feature-removal-schedule.txt
 feature-removal-schedule.txt
 	- list of files and features that are going to be removed.
 	- list of files and features that are going to be removed.
 filesystems/
 filesystems/
-	- directory with info on the various filesystems that Linux supports.
+	- info on the vfs and the various filesystems that Linux supports.
 firmware_class/
 firmware_class/
 	- request_firmware() hotplug interface info.
 	- request_firmware() hotplug interface info.
 floppy.txt
 floppy.txt
@@ -240,8 +240,6 @@ m68k/
 	- directory with info about Linux on Motorola 68k architecture.
 	- directory with info about Linux on Motorola 68k architecture.
 magic-number.txt
 magic-number.txt
 	- list of magic numbers used to mark/protect kernel data structures.
 	- list of magic numbers used to mark/protect kernel data structures.
-mandatory.txt
-	- info on the Linux implementation of Sys V mandatory file locking.
 mca.txt
 mca.txt
 	- info on supporting Micro Channel Architecture (e.g. PS/2) systems.
 	- info on supporting Micro Channel Architecture (e.g. PS/2) systems.
 md.txt
 md.txt

+ 2 - 0
Documentation/filesystems/00-INDEX

@@ -52,6 +52,8 @@ isofs.txt
 	- info and mount options for the ISO 9660 (CDROM) filesystem.
 	- info and mount options for the ISO 9660 (CDROM) filesystem.
 jfs.txt
 jfs.txt
 	- info and mount options for the JFS filesystem.
 	- info and mount options for the JFS filesystem.
+mandatory-locking.txt
+	- info on the Linux implementation of Sys V mandatory file locking.
 ncpfs.txt
 ncpfs.txt
 	- info on Novell Netware(tm) filesystem using NCP protocol.
 	- info on Novell Netware(tm) filesystem using NCP protocol.
 ntfs.txt
 ntfs.txt

+ 0 - 0
Documentation/mandatory.txt → Documentation/filesystems/mandatory-locking.txt


+ 5 - 5
Documentation/locks.txt

@@ -53,11 +53,11 @@ fcntl(), with all the problems that implies.
 1.3 Mandatory Locking As A Mount Option
 1.3 Mandatory Locking As A Mount Option
 ---------------------------------------
 ---------------------------------------
 
 
-Mandatory locking, as described in 'Documentation/mandatory.txt' was prior
-to this release a general configuration option that was valid for all
-mounted filesystems. This had a number of inherent dangers, not the least
-of which was the ability to freeze an NFS server by asking it to read a
-file for which a mandatory lock existed.
+Mandatory locking, as described in 'Documentation/filesystems/mandatory.txt'
+was prior to this release a general configuration option that was valid for
+all mounted filesystems.  This had a number of inherent dangers, not the
+least of which was the ability to freeze an NFS server by asking it to read
+a file for which a mandatory lock existed.
 
 
 From this release of the kernel, mandatory locking can be turned on and off
 From this release of the kernel, mandatory locking can be turned on and off
 on a per-filesystem basis, using the mount options 'mand' and 'nomand'.
 on a per-filesystem basis, using the mount options 'mand' and 'nomand'.