From: Richard Weinberger <richard@nod.at>
To: Andrew Murray <amurray@embedded-bits.co.uk>
Cc: Artem Bityutskiy <dedekind1@gmail.com>,
linux-mtd@lists.infradead.org,
LKML <linux-kernel@vger.kernel.org>,
Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Subject: Re: [PATCH 1/2] UBI: Implement UBI_METAONLY
Date: Wed, 29 Oct 2014 21:20:06 +0100 [thread overview]
Message-ID: <54514BF6.1010201@nod.at> (raw)
In-Reply-To: <CAPcvp5HBnuAHTwFHLJ1Ve6o2MSeQ8Qnn6x7Q0wD2G-yP6p7OLA@mail.gmail.com>
Am 29.10.2014 um 21:11 schrieb Andrew Murray:
> On 29 October 2014 14:52, Richard Weinberger <richard@nod.at> wrote:
>> diff --git a/include/linux/mtd/ubi.h b/include/linux/mtd/ubi.h
>> index c3918a0..82b693f 100644
>> --- a/include/linux/mtd/ubi.h
>> +++ b/include/linux/mtd/ubi.h
>> @@ -34,11 +34,13 @@
>> * UBI_READONLY: read-only mode
>> * UBI_READWRITE: read-write mode
>> * UBI_EXCLUSIVE: exclusive mode
>> + * UBI_METAONLY: modify voulme meta data only
>
> Typo - s/voulme/volume/g
Thanks. :)
>> */
>> enum {
>> UBI_READONLY = 1,
>> UBI_READWRITE,
>> - UBI_EXCLUSIVE
>> + UBI_EXCLUSIVE,
>> + UBI_METAONLY
>> };
>>
>
> Also you may want to add something similar to this:
>
> --- a/drivers/mtd/ubi/ubi.h
> +++ b/drivers/mtd/ubi/ubi.h
> @@ -339,7 +339,7 @@ struct ubi_volume {
> /**
> * struct ubi_volume_desc - UBI volume descriptor returned when it is opened.
> * @vol: reference to the corresponding volume description object
> - * @mode: open mode (%UBI_READONLY, %UBI_READWRITE, or %UBI_EXCLUSIVE)
> + * @mode: open mode (%UBI_READONLY, %UBI_READWRITE, %UBI_EXCLUSIVE or
> %UBI_METAONLY)
> */
> struct ubi_volume_desc {
> struct ubi_volume *vol;
>
> There is also a similar mention in gluebi.c: 'readers/writes/exclusive'.
Please send a patch for that. :)
Thanks,
//richard
next prev parent reply other threads:[~2014-10-29 20:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-29 14:52 [PATCH 1/2] UBI: Implement UBI_METAONLY Richard Weinberger
2014-10-29 14:52 ` [PATCH 2/2] UBI: rename_volumes: Use UBI_METAONLY Richard Weinberger
2014-10-29 20:11 ` [PATCH 1/2] UBI: Implement UBI_METAONLY Andrew Murray
2014-10-29 20:20 ` Richard Weinberger [this message]
2014-11-07 12:42 ` Andrew Murray
2014-11-24 21:32 ` Richard Weinberger
2014-11-07 9:37 ` Artem Bityutskiy
-- strict thread matches above, loose matches on Subject: below --
2014-11-24 21:30 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=54514BF6.1010201@nod.at \
--to=richard@nod.at \
--cc=amurray@embedded-bits.co.uk \
--cc=dedekind1@gmail.com \
--cc=ezequiel.garcia@free-electrons.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox