linux_dsm_epyc7002/fs/ubifs
Richard Weinberger 5996559320 ubifs: Fix synced_i_size calculation for xattr inodes
In ubifs_jnl_update() we sync parent and child inodes to the flash,
in case of xattrs, the parent inode (AKA host inode) has a non-zero
data_len. Therefore we need to adjust synced_i_size too.

This issue was reported by ubifs self tests unter a xattr related work
load.
UBIFS error (ubi0:0 pid 1896): dbg_check_synced_i_size: ui_size is 4, synced_i_size is 0, but inode is clean
UBIFS error (ubi0:0 pid 1896): dbg_check_synced_i_size: i_ino 65, i_mode 0x81a4, i_size 4

Cc: <stable@vger.kernel.org>
Fixes: 1e51764a3c ("UBIFS: add new flash file system")
Signed-off-by: Richard Weinberger <richard@nod.at>
2018-08-15 00:06:15 +02:00
..
budget.c
commit.c
compress.c
crypto.c fscrypt: make fscrypt_operations.max_namelen an integer 2018-05-20 16:21:03 -04:00
debug.c
debug.h
dir.c ubifs: Fix directory size calculation for symlinks 2018-08-15 00:06:15 +02:00
file.c vfs/y2038: inode timestamps conversion to timespec64 2018-06-15 07:31:07 +09:00
find.c ubifs: Constify struct ubifs_lprops in scan_for_leb_for_idx 2018-04-04 23:48:10 +02:00
gc.c ubifs: gc: Fix typo 2018-06-07 15:53:15 +02:00
io.c Rename superblock flags (MS_xyz -> SB_xyz) 2017-11-27 13:05:09 -08:00
ioctl.c
journal.c ubifs: Fix synced_i_size calculation for xattr inodes 2018-08-15 00:06:15 +02:00
Kconfig
key.h
log.c ubifs: log: Some spelling fixes 2018-06-07 15:53:15 +02:00
lprops.c ubifs: Remove useless parameter of lpt_heap_replace 2018-04-04 23:48:11 +02:00
lpt_commit.c ubifs: lpt: Fix wrong pnode number range in comment 2018-06-07 15:53:15 +02:00
lpt.c treewide: Use array_size() in vmalloc() 2018-06-12 16:19:22 -07:00
Makefile
master.c
misc.c
misc.h
orphan.c
recovery.c
replay.c ubifs: Spelling fix someting -> something 2018-06-07 15:53:14 +02:00
sb.c
scan.c ubifs: remove unnecessary assignment 2018-04-04 23:48:10 +02:00
shrinker.c
super.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
tnc_commit.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
tnc_misc.c
tnc.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
ubifs-media.h
ubifs.h vfs/y2038: inode timestamps conversion to timespec64 2018-06-15 07:31:07 +09:00
xattr.c ubifs, xattr: remove misguided quota flags 2018-06-07 15:53:14 +02:00