public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Re: mtd/include/linux jffs2.h,1.35,1.36
       [not found] <E1DxPLP-0004rN-Ld@phoenix.infradead.org>
@ 2005-07-26 14:08 ` Jörn Engel
  2005-07-26 14:21   ` Ferenc Havasi
  0 siblings, 1 reply; 3+ messages in thread
From: Jörn Engel @ 2005-07-26 14:08 UTC (permalink / raw)
  To: havasi; +Cc: linux-mtd

On Tue, 26 July 2005 14:19:39 +0100, havasi@infradead.org wrote:
> 
> Update of /home/cvs/mtd/include/linux
> In directory phoenix.infradead.org:/tmp/cvs-serv18673
> 
> Modified Files:
> 	jffs2.h 
> Log Message:
> [jffs2] removing compressor lzo and lzari
> 
> Index: jffs2.h
> ===================================================================
> RCS file: /home/cvs/mtd/include/linux/jffs2.h,v
> retrieving revision 1.35
> retrieving revision 1.36
> diff -u -r1.35 -r1.36
> --- jffs2.h	24 Jul 2005 15:15:51 -0000	1.35
> +++ jffs2.h	26 Jul 2005 13:19:36 -0000	1.36
> @@ -43,8 +43,6 @@
>  #define JFFS2_COMPR_COPY	0x04
>  #define JFFS2_COMPR_DYNRUBIN	0x05
>  #define JFFS2_COMPR_ZLIB	0x06
> -#define JFFS2_COMPR_LZO         0x07
> -#define JFFS2_COMPR_LZARI       0x08
>  /* Compatibility flags. */
>  #define JFFS2_COMPAT_MASK 0xc000      /* What do to if an unknown nodetype is found */
>  #define JFFS2_NODE_ACCURATE 0x2000

This patch could cause problems.  We have to make sure 0x07 and 0x08
are never handed out for new compressors, one way or another.

Ferenc, can you add a comment that those numbers are reserved or
obsoleted?

Jörn

-- 
Optimizations always bust things, because all optimizations are, in
the long haul, a form of cheating, and cheaters eventually get caught.
-- Larry Wall 

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

* Re: mtd/include/linux jffs2.h,1.35,1.36
  2005-07-26 14:08 ` mtd/include/linux jffs2.h,1.35,1.36 Jörn Engel
@ 2005-07-26 14:21   ` Ferenc Havasi
  2005-07-26 17:28     ` Jörn Engel
  0 siblings, 1 reply; 3+ messages in thread
From: Ferenc Havasi @ 2005-07-26 14:21 UTC (permalink / raw)
  To: Jörn Engel; +Cc: linux-mtd, havasi

Jörn Engel wrote:

>>-#define JFFS2_COMPR_LZO         0x07
>>-#define JFFS2_COMPR_LZARI       0x08
>> /* Compatibility flags. */
>> #define JFFS2_COMPAT_MASK 0xc000      /* What do to if an unknown nodetype is found */
>> #define JFFS2_NODE_ACCURATE 0x2000
>>    
>>
>
>This patch could cause problems.  We have to make sure 0x07 and 0x08
>are never handed out for new compressors, one way or another.
>
>Ferenc, can you add a comment that those numbers are reserved or
>obsoleted?
>  
>
Compressor lzo and lzari were never used really, I think nobody has
JFFS2 image with blocks compressed by them.

But if you think I can add a comment to make absolutely sure.

Ferenc

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

* Re: mtd/include/linux jffs2.h,1.35,1.36
  2005-07-26 14:21   ` Ferenc Havasi
@ 2005-07-26 17:28     ` Jörn Engel
  0 siblings, 0 replies; 3+ messages in thread
From: Jörn Engel @ 2005-07-26 17:28 UTC (permalink / raw)
  To: Ferenc Havasi; +Cc: linux-mtd, havasi

On Tue, 26 July 2005 16:21:25 +0200, Ferenc Havasi wrote:
>
> Compressor lzo and lzari were never used really, I think nobody has
> JFFS2 image with blocks compressed by them.
> 
> But if you think I can add a comment to make absolutely sure.

Hmm, ok.  You're right.

For rubin, we want to keep the numbers reserved, but those two are
fine.

Jörn

-- 
It's not whether you win or lose, it's how you place the blame.
-- unknown

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

end of thread, other threads:[~2005-07-26 17:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1DxPLP-0004rN-Ld@phoenix.infradead.org>
2005-07-26 14:08 ` mtd/include/linux jffs2.h,1.35,1.36 Jörn Engel
2005-07-26 14:21   ` Ferenc Havasi
2005-07-26 17:28     ` Jörn Engel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox