linux/fs/udf
Jan Kara 256fe4162f udf: Do not update file length for failed writes to inline files
When write to inline file fails (or happens only partly), we still
updated length of inline data as if the whole write succeeded. Fix the
update of length of inline data to happen only if the write succeeds.

Reported-by: syzbot+0937935b993956ba28ab@syzkaller.appspotmail.com
CC: stable@vger.kernel.org
Signed-off-by: Jan Kara <jack@suse.cz>
2023-01-09 10:39:53 +01:00
..
balloc.c
dir.c udf: Convert udf_readdir() to new directory iteration 2023-01-09 10:39:51 +01:00
directory.c udf: Fix spelling mistake "lenght" -> "length" 2023-01-09 10:39:53 +01:00
ecma_167.h
file.c udf: Do not update file length for failed writes to inline files 2023-01-09 10:39:53 +01:00
ialloc.c
inode.c udf: Keep i_lenExtents consistent with the total length of extents 2023-01-09 10:39:53 +01:00
Kconfig
lowlevel.c
Makefile
misc.c
namei.c udf: Handle error when adding extent to symlink 2023-01-09 10:39:52 +01:00
osta_udf.h
partition.c
super.c fs: udf: Optimize udf_free_in_core_inode and udf_find_fileset function 2022-10-24 16:49:00 +02:00
symlink.c
truncate.c udf: Do not bother looking for prealloc extents if i_lenExtents matches i_size 2022-12-09 12:37:26 +01:00
udf_i.h
udf_sb.h udf: Define EFSCORRUPTED error code 2023-01-09 10:39:51 +01:00
udfdecl.h udf: Allocate name buffer in directory iterator on heap 2023-01-09 10:39:53 +01:00
udfend.h
udftime.c
unicode.c