[PATCH] libfs: fix table format warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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")
Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Link: https://lore.kernel.org/linux-next/20230704135149.014516c7@xxxxxxxxxxxxxxxx/T/#u
Cc: Christian Brauner <brauner@xxxxxxxxxx>
Cc: Chuck Lever <chuck.lever@xxxxxxxxxx>
Cc: linux-fsdevel@xxxxxxxxxxxxxxx
Cc: Jonathan Corbet <corbet@xxxxxxx>
Cc: linux-doc@xxxxxxxxxxxxxxx
---
 Documentation/filesystems/locking.rst |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff -- a/Documentation/filesystems/locking.rst b/Documentation/filesystems/locking.rst
--- 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



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux