Re: [PATCH] ubifs: Fix wrong orphan node deletion in ubifs_jnl_update()

2020-07-07 Thread Zhihao Cheng
在 2020/7/7 19:52, Richard Weinberger 写道: On Thu, Jul 2, 2020 at 5:21 PM Zhihao Cheng wrote: There a wrong orphan node deleting in error handling path in ubifs_jnl_update(), which may cause following error msg: UBIFS error (ubi0:0 pid 1522): ubifs_delete_orphan [ubifs]: missing orphan

Re: [PATCH] ubifs: Fix wrong orphan node deletion in ubifs_jnl_update()

2020-07-07 Thread Richard Weinberger
On Thu, Jul 2, 2020 at 5:21 PM Zhihao Cheng wrote: > > There a wrong orphan node deleting in error handling path in > ubifs_jnl_update(), which may cause following error msg: > > UBIFS error (ubi0:0 pid 1522): ubifs_delete_orphan [ubifs]: > missing orphan ino 65 > > Fix this by checking

[PATCH] ubifs: Fix wrong orphan node deletion in ubifs_jnl_update()

2020-07-02 Thread Zhihao Cheng
There a wrong orphan node deleting in error handling path in ubifs_jnl_update(), which may cause following error msg: UBIFS error (ubi0:0 pid 1522): ubifs_delete_orphan [ubifs]: missing orphan ino 65 Fix this by checking whether the node has been operated for adding to orphan list before