Skip to contentSkip to conversation

libfs: fix table format warning

PATCH Applied Randy Dunlap 2 participants 2 messages Jul 4, 2023

Subsystems (3)
lore
Share & tools
lore

Randy Dunlap

author reviewer
#0 lore raw

PATCH 1/1 libfs: fix table format warning

Drop the unnecessary colon to make the table formatting correct. The colons are not needed and this file uses them sometimes and doesn't at other times. Generally they are not preferred in documentation tables IMO.

Also extend the table line widths to match the table text.

Fixes 7a3472ae9614 ("libfs: Add directory operations for stable offsets")
Cc Christian Brauner <[email protected]>
Cc Chuck Lever <[email protected]>
Cc Jonathan Corbet <[email protected]>
---
 Documentation/filesystems/locking.rst |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Documentation/filesystems/locking.rst +4 -4
diff -- a/Documentation/filesystems/locking.rst b/Documentation/filesystems/locking.rst
@@ -90,9 +90,9 @@ prototypes::
 locking rules:
 	all may block
 
-==============	=============================================
+==============	==================================================
 ops		i_rwsem(inode)
-==============	=============================================
+==============	==================================================
 lookup:		shared
 create:		exclusive
 link:		exclusive (both)
@@ -116,8 +116,8 @@ atomic_open:	shared (exclusive if O_CREA
 tmpfile:	no
 fileattr_get:	no or exclusive
 fileattr_set:	exclusive
-get_offset_ctx: no
-==============	=============================================
+get_offset_ctx  no
+==============	==================================================
 
 
 	Additionally, ->rmdir(), ->unlink() and ->rename() have ->i_rwsem
maintainer Applied
#1 lore raw
Quoted 8 lines · Randy Dunlap

Drop the unnecessary colon to make the table formatting correct. The colons are not needed and this file uses them sometimes and doesn't at other times. Generally they are not preferred in documentation tables IMO.

Also extend the table line widths to match the table text.

[...]

I've folded this fix into Chuck's series. Thanks!

---

Applied to the vfs.readdir branch of the vfs/vfs.git tree. Patches in the vfs.readdir branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.readdir

[1/1] libfs: Add directory operations for stable offsets

      https://git.kernel.org/vfs/vfs/c/2b1732fc0a7c