• K
    [JFFS2][XATTR] using 'delete marker' for xdatum/xref deletion · c9f700f8
    KaiGai Kohei 提交于
    - When xdatum is removed, a new xdatum with 'delete marker' is
      written. (version==0xffffffff means 'delete marker')
    - When xref is removed, a new xref with 'delete marker' is written.
      (odd-numbered xseqno means 'delete marker')
    
    - delete_xattr_(datum/xref)_delay() are new deletion functions
      are added. We can only use them if we can detect the target
      obsolete xdatum/xref as a orphan or errir one.
      (e.g when inode deletion, or detecting crc error)
    
    [1/3] jffs2-xattr-v6-01-delete_marker.patch
    Signed-off-by: NKaiGai Kohei <kaigai@ak.jp.nec.com>
    Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
    c9f700f8
jffs2.h 6.8 KB