Skip to content

Commit 35c6cb4

Browse files
amir73ilMiklos Szeredi
authored andcommitted
docs: filesystems: overlayfs: Fix restview warnings
Fix only the obvious problems [SzM: add SPDX license line] Signed-off-by: Amir Goldstein <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
1 parent 5356ab0 commit 35c6cb4

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Documentation/filesystems/overlayfs.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. SPDX-License-Identifier: GPL-2.0
2+
13
Written by: Neil Brown
24
Please see MAINTAINERS file for where to send questions.
35

@@ -181,7 +183,7 @@ Kernel config options:
181183
worried about backward compatibility with kernels that have the redirect_dir
182184
feature and follow redirects even if turned off.
183185

184-
Module options (can also be changed through /sys/module/overlay/parameters/*):
186+
Module options (can also be changed through /sys/module/overlay/parameters/):
185187

186188
- "redirect_dir=BOOL":
187189
See OVERLAY_FS_REDIRECT_DIR kernel config option above.
@@ -263,7 +265,7 @@ top, lower2 the middle and lower3 the bottom layer.
263265

264266

265267
Metadata only copy up
266-
--------------------
268+
---------------------
267269

268270
When metadata only copy up feature is enabled, overlayfs will only copy
269271
up metadata (as opposed to whole file), when a metadata specific operation
@@ -286,10 +288,10 @@ pointed by REDIRECT. This should not be possible on local system as setting
286288
"trusted." xattrs will require CAP_SYS_ADMIN. But it should be possible
287289
for untrusted layers like from a pen drive.
288290

289-
Note: redirect_dir={off|nofollow|follow(*)} conflicts with metacopy=on, and
291+
Note: redirect_dir={off|nofollow|follow[*]} conflicts with metacopy=on, and
290292
results in an error.
291293

292-
(*) redirect_dir=follow only conflicts with metacopy=on if upperdir=... is
294+
[*] redirect_dir=follow only conflicts with metacopy=on if upperdir=... is
293295
given.
294296

295297
Sharing and copying layers

0 commit comments

Comments
 (0)