[JFFS2][XATTR] using 'delete marker' for xdatum/xref deletion
- 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:KaiGai Kohei <kaigai@ak.jp.nec.com> Signed-off-by:
David Woodhouse <dwmw2@infradead.org>
Showing
- fs/jffs2/erase.c 15 additions, 4 deletionsfs/jffs2/erase.c
- fs/jffs2/gc.c 2 additions, 3 deletionsfs/jffs2/gc.c
- fs/jffs2/jffs2_fs_sb.h 3 additions, 0 deletionsfs/jffs2/jffs2_fs_sb.h
- fs/jffs2/malloc.c 2 additions, 0 deletionsfs/jffs2/malloc.c
- fs/jffs2/nodemgmt.c 14 additions, 7 deletionsfs/jffs2/nodemgmt.c
- fs/jffs2/scan.c 33 additions, 24 deletionsfs/jffs2/scan.c
- fs/jffs2/summary.c 14 additions, 25 deletionsfs/jffs2/summary.c
- fs/jffs2/xattr.c 463 additions, 273 deletionsfs/jffs2/xattr.c
- fs/jffs2/xattr.h 37 additions, 3 deletionsfs/jffs2/xattr.h
- include/linux/jffs2.h 1 addition, 0 deletionsinclude/linux/jffs2.h
Loading
Please register or sign in to comment