[PATCH] Corrected the spelling of dictionary in the example usage of 'algorithm_params' in the ZRAM documentation.

Saru2003 posted 1 patch 1 year, 2 months ago
Documentation/admin-guide/blockdev/zram.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
[PATCH] Corrected the spelling of dictionary in the example usage of 'algorithm_params' in the ZRAM documentation.
Posted by Saru2003 1 year, 2 months ago
Signed-off-by: Saru2003 <sarvesh20123@gmail.com>
---
 Documentation/admin-guide/blockdev/zram.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/admin-guide/blockdev/zram.rst b/Documentation/admin-guide/blockdev/zram.rst
index 678d70d6e1c3..dbf2b4f47ec3 100644
--- a/Documentation/admin-guide/blockdev/zram.rst
+++ b/Documentation/admin-guide/blockdev/zram.rst
@@ -119,14 +119,14 @@ compression algorithm to use external pre-trained dictionary, pass full
 path to the `dict` along with other parameters::
 
 	#pass path to pre-trained zstd dictionary
-	echo "algo=zstd dict=/etc/dictioary" > /sys/block/zram0/algorithm_params
+	echo "algo=zstd dict=/etc/dictionary" > /sys/block/zram0/algorithm_params
 
 	#same, but using algorithm priority
-	echo "priority=1 dict=/etc/dictioary" > \
+	echo "priority=1 dict=/etc/dictionary" > \
 		/sys/block/zram0/algorithm_params
 
 	#pass path to pre-trained zstd dictionary and compression level
-	echo "algo=zstd level=8 dict=/etc/dictioary" > \
+	echo "algo=zstd level=8 dict=/etc/dictionary" > \
 		/sys/block/zram0/algorithm_params
 
 Parameters are algorithm specific: not all algorithms support pre-trained
-- 
2.34.1
Re: [PATCH] Corrected the spelling of dictionary in the example usage of 'algorithm_params' in the ZRAM documentation.
Posted by Sergey Senozhatsky 1 year, 2 months ago
On (24/11/24 19:15), Saru2003 wrote:
> Signed-off-by: Saru2003 <sarvesh20123@gmail.com>

Can you please resend v2 with:
- updated subject "Documentation: zram: fix dictionary spelling"
- perhaps a short commit message is still needed
- I'd also assume your real name should be in SoB

Otherwise looks good.

FWIW,
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
[PATCH v2] Documentation: zram: fix dictionary spelling
Posted by Saru2003 1 year, 2 months ago
Fixes a typo in the ZRAM documentation where 'dictioary' was
misspelled. Corrected it to 'dictionary' in the example usage
of 'algorithm_params'.

Signed-off-by: Sarveshwaar SS <sarvesh20123@gmail.com>
---
 Documentation/admin-guide/blockdev/zram.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/admin-guide/blockdev/zram.rst b/Documentation/admin-guide/blockdev/zram.rst
index 678d70d6e1c3..dbf2b4f47ec3 100644
--- a/Documentation/admin-guide/blockdev/zram.rst
+++ b/Documentation/admin-guide/blockdev/zram.rst
@@ -119,14 +119,14 @@ compression algorithm to use external pre-trained dictionary, pass full
 path to the `dict` along with other parameters::
 
 	#pass path to pre-trained zstd dictionary
-	echo "algo=zstd dict=/etc/dictioary" > /sys/block/zram0/algorithm_params
+	echo "algo=zstd dict=/etc/dictionary" > /sys/block/zram0/algorithm_params
 
 	#same, but using algorithm priority
-	echo "priority=1 dict=/etc/dictioary" > \
+	echo "priority=1 dict=/etc/dictionary" > \
 		/sys/block/zram0/algorithm_params
 
 	#pass path to pre-trained zstd dictionary and compression level
-	echo "algo=zstd level=8 dict=/etc/dictioary" > \
+	echo "algo=zstd level=8 dict=/etc/dictionary" > \
 		/sys/block/zram0/algorithm_params
 
 Parameters are algorithm specific: not all algorithms support pre-trained
-- 
2.34.1
Re: [PATCH v2] Documentation: zram: fix dictionary spelling
Posted by Jonathan Corbet 1 year, 1 month ago
Saru2003 <sarvesh20123@gmail.com> writes:

> Fixes a typo in the ZRAM documentation where 'dictioary' was
> misspelled. Corrected it to 'dictionary' in the example usage
> of 'algorithm_params'.
>
> Signed-off-by: Sarveshwaar SS <sarvesh20123@gmail.com>
> ---
>  Documentation/admin-guide/blockdev/zram.rst | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Applied, thanks.

jon
Re: [PATCH v2] Documentation: zram: fix dictionary spelling
Posted by Sergey Senozhatsky 1 year, 2 months ago
On (24/11/25 22:21), Saru2003 wrote:
> 
> Fixes a typo in the ZRAM documentation where 'dictioary' was
> misspelled. Corrected it to 'dictionary' in the example usage
> of 'algorithm_params'.
> 
> Signed-off-by: Sarveshwaar SS <sarvesh20123@gmail.com>

Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>