All of lore.kernel.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind1@gmail.com>
To: Hyunchul Lee <hyc.lee@gmail.com>, Richard Weinberger <richard@nod.at>
Cc: linux-mtd@lists.infradead.org, Hyunchul Lee <cheol.lee@lge.com>
Subject: Re: [PATCH 0/3] ubifs: add lz4hc compression
Date: Tue, 28 Feb 2017 12:17:05 +0200	[thread overview]
Message-ID: <1488277025.3583.2.camel@gmail.com> (raw)
In-Reply-To: <1488259008-12510-1-git-send-email-hyc.lee@gmail.com>

On Tue, 2017-02-28 at 14:16 +0900, Hyunchul Lee wrote:
> Another compression type cannot be added any more in respect that
> type of
> ubifs_inode's compr_type is "unsigned:2" and there are 4 compression
> types.  There may be overflow in assignment to compr_type, and
> prevision 
> version of ubifs is trying to decompress file with wrong compression
> type.

But this is just an in-memory inode structure, and you can change it,
just increase the size of 'compr_type'.

  parent reply	other threads:[~2017-02-28 10:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-28  5:16 [PATCH 0/3] ubifs: add lz4hc compression Hyunchul Lee
2017-02-28  5:16 ` [PATCH 1/3] ubifs: add lz4hc compressor Hyunchul Lee
2017-02-28  5:16 ` [PATCH 2/3] ubifs: change type of ubifs_inode's compr_type to unsigend:16 Hyunchul Lee
2017-02-28 10:17 ` Artem Bityutskiy [this message]
2017-03-01  1:12   ` [PATCH 0/3] ubifs: add lz4hc compression Hyunchul Lee
2017-03-01 10:35     ` Artem Bityutskiy
2017-03-03  8:08 ` Richard Weinberger
2017-03-03 11:07   ` Hyunchul Lee
2017-03-03 12:00     ` Artem Bityutskiy
2017-03-03 12:07       ` Richard Weinberger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1488277025.3583.2.camel@gmail.com \
    --to=dedekind1@gmail.com \
    --cc=cheol.lee@lge.com \
    --cc=hyc.lee@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=richard@nod.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.