diff options
author | Richard Weinberger <richard@nod.at> | 2019-04-05 00:34:36 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2019-05-07 21:58:30 +0200 |
commit | 7959cf3a7506d4a2100d5d6f37f605c2f54af488 (patch) | |
tree | 28b53e427975fb721005935e118a30b175aee2eb /fs/ubifs/ubifs.h | |
parent | 257bb92420d63c4d38da4cf0ae9a0b61ac985eca (diff) |
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/ubifs.h')
0 files changed, 0 insertions, 0 deletions