Re: [PATCH RFC v2 1/3] pstore: map pstore types to names

From: Joel Fernandes
Date: Sun Nov 04 2018 - 23:46:51 EST


On Sat, Nov 03, 2018 at 04:38:16PM -0700, Joel Fernandes (Google) wrote:
> In later patches we will need to map types to names, so create a table
> for that which can also be used and reused in different parts of old and
> new code. Also use it to save the type in the PRZ which will be useful
> in later patches.
>
> Signed-off-by: Joel Fernandes (Google) <joel@xxxxxxxxxxxxxxxxx>
> ---
> fs/pstore/inode.c | 53 +++++---------------------------------
> fs/pstore/ram.c | 4 ++-
> include/linux/pstore.h | 37 ++++++++++++++++++++++++++
> include/linux/pstore_ram.h | 2 ++
> 4 files changed, 48 insertions(+), 48 deletions(-)

The original patch had an unused variable warning, below is the updated one.
Sorry about that and thanks!

---8<-----------------------