]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/ubifs/gc.c
UBIFS: TNC / GC race fixes
authorAdrian Hunter <ext-adrian.hunter@nokia.com>
Fri, 12 Sep 2008 09:27:47 +0000 (12:27 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 17 Sep 2008 11:23:26 +0000 (14:23 +0300)
commit6dcfac4f13d6b32fbaa60b64a23249999e66af8e
tree007884a8327658dc53252c7f1be9ab9daeb7ea14
parent0855f310dff76ae42c5aac32f600f8f692bbd23f
UBIFS: TNC / GC race fixes

- update GC sequence number if any nodes may have been moved
even if GC did not finish the LEB
- don't ignore error return when reading

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/gc.c
fs/ubifs/tnc.c