summaryrefslogtreecommitdiff
path: root/fs/ubifs/scan.c
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2019-04-05 01:34:36 +0300
committerRichard Weinberger <richard@nod.at>2019-05-07 22:58:30 +0300
commit7959cf3a7506d4a2100d5d6f37f605c2f54af488 (patch)
tree28b53e427975fb721005935e118a30b175aee2eb /fs/ubifs/scan.c
parent257bb92420d63c4d38da4cf0ae9a0b61ac985eca (diff)
downloadlinux-7959cf3a7506d4a2100d5d6f37f605c2f54af488.tar.xz
ubifs: journal: Handle xattrs like files
If an inode hosts xattrs, create deletion entries for each inode. That way we can make sure that upon journal replay UBIFS can find find all xattr inodes. Otherwise it can happen that GC consumed already a LEB which contained parts of the TNC that pointed to the xattrs and we no longer find all xattr inodes, which will confuse the LPT and cause space allocation issues. Reported-by: Stefan Agner <stefan@agner.ch> Fixes: 1e51764a3c2ac ("UBIFS: add new flash file system") Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/ubifs/scan.c')
0 files changed, 0 insertions, 0 deletions