Re: [PATCH] ubifs: Handle re-linking of inodes correctly while recovery

2018-11-01 Thread Richard Weinberger
Am Donnerstag, 1. November 2018, 09:55:53 CET schrieb Rafał Miłecki: > On Sun, 28 Oct 2018 at 22:44, Richard Weinberger wrote: > > UBIFS's recovery code strictly assumes that a deleted inode will never > > come back, therefore it removes all data which belongs to that inode > > as soon it faces

Re: [PATCH] ubifs: Handle re-linking of inodes correctly while recovery

2018-11-01 Thread Richard Weinberger
Am Donnerstag, 1. November 2018, 09:55:53 CET schrieb Rafał Miłecki: > On Sun, 28 Oct 2018 at 22:44, Richard Weinberger wrote: > > UBIFS's recovery code strictly assumes that a deleted inode will never > > come back, therefore it removes all data which belongs to that inode > > as soon it faces

Re: [PATCH] ubifs: Handle re-linking of inodes correctly while recovery

2018-11-01 Thread Rafał Miłecki
On Sun, 28 Oct 2018 at 22:44, Richard Weinberger wrote: > UBIFS's recovery code strictly assumes that a deleted inode will never > come back, therefore it removes all data which belongs to that inode > as soon it faces an inode with link count 0 in the replay list. > Before O_TMPFILE this

Re: [PATCH] ubifs: Handle re-linking of inodes correctly while recovery

2018-11-01 Thread Rafał Miłecki
On Sun, 28 Oct 2018 at 22:44, Richard Weinberger wrote: > UBIFS's recovery code strictly assumes that a deleted inode will never > come back, therefore it removes all data which belongs to that inode > as soon it faces an inode with link count 0 in the replay list. > Before O_TMPFILE this

Re: [PATCH] ubifs: Handle re-linking of inodes correctly while recovery

2018-10-29 Thread Russell Senior
UBIFS's recovery code strictly assumes that a deleted inode will never come back, therefore it removes all data which belongs to that inode as soon it faces an inode with link count 0 in the replay list. Before O_TMPFILE this assumption was perfectly fine. With O_TMPFILE it can lead to data loss

Re: [PATCH] ubifs: Handle re-linking of inodes correctly while recovery

2018-10-29 Thread Russell Senior
UBIFS's recovery code strictly assumes that a deleted inode will never come back, therefore it removes all data which belongs to that inode as soon it faces an inode with link count 0 in the replay list. Before O_TMPFILE this assumption was perfectly fine. With O_TMPFILE it can lead to data loss

[PATCH] ubifs: Handle re-linking of inodes correctly while recovery

2018-10-28 Thread Richard Weinberger
UBIFS's recovery code strictly assumes that a deleted inode will never come back, therefore it removes all data which belongs to that inode as soon it faces an inode with link count 0 in the replay list. Before O_TMPFILE this assumption was perfectly fine. With O_TMPFILE it can lead to data loss

[PATCH] ubifs: Handle re-linking of inodes correctly while recovery

2018-10-28 Thread Richard Weinberger
UBIFS's recovery code strictly assumes that a deleted inode will never come back, therefore it removes all data which belongs to that inode as soon it faces an inode with link count 0 in the replay list. Before O_TMPFILE this assumption was perfectly fine. With O_TMPFILE it can lead to data loss