linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH mtd-utils] mkfs.ubifs: fix description of favor_lzo
@ 2019-07-18  9:42 Uwe Kleine-König
  2019-07-18  9:48 ` David Oberhollenzer
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2019-07-18  9:42 UTC (permalink / raw)
  To: linux-mtd; +Cc: kernel

"favor_lzo" uses "lzo" unless the space savings when using "zlib" are
big. The current wording got this wrong.
---
 ubifs-utils/mkfs.ubifs/mkfs.ubifs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c b/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c
index 6d8e55dc32c0..58ebf8ce9d48 100644
--- a/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c
+++ b/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c
@@ -250,8 +250,8 @@ static const char *helptext =
 "really a separate compressor. It is just a method of combining \"lzo\" and \"zlib\"\n"
 "compressors. Namely, mkfs.ubifs tries to compress data with both \"lzo\" and \"zlib\"\n"
 "compressors, then it compares which compressor is better. If \"zlib\" compresses 20\n"
-"or more percent better than \"lzo\", mkfs.ubifs chooses \"lzo\", otherwise it chooses\n"
-"\"zlib\". The \"--favor-percent\" may specify arbitrary threshold instead of the\n"
+"or more percent better than \"lzo\", mkfs.ubifs chooses \"zlib\", otherwise it chooses\n"
+"\"lzo\". The \"--favor-percent\" may specify arbitrary threshold instead of the\n"
 "default 20%.\n\n"
 "The -F parameter is used to set the \"fix up free space\" flag in the superblock,\n"
 "which forces UBIFS to \"fixup\" all the free space which it is going to use. This\n"
-- 
2.20.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH mtd-utils] mkfs.ubifs: fix description of favor_lzo
  2019-07-18  9:42 [PATCH mtd-utils] mkfs.ubifs: fix description of favor_lzo Uwe Kleine-König
@ 2019-07-18  9:48 ` David Oberhollenzer
  0 siblings, 0 replies; 2+ messages in thread
From: David Oberhollenzer @ 2019-07-18  9:48 UTC (permalink / raw)
  To: Uwe Kleine-König, linux-mtd; +Cc: kernel

Applied to mtd-utils.git master.

Thanks,

David


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-18  9:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-18  9:42 [PATCH mtd-utils] mkfs.ubifs: fix description of favor_lzo Uwe Kleine-König
2019-07-18  9:48 ` David Oberhollenzer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).