aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/udf/super.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2023-01-02 20:14:47 +0100
committerJan Kara <jack@suse.cz>2023-01-09 10:39:53 +0100
commit256fe4162f8b5a1625b8603ca5f7ff79725bfb47 (patch)
tree4111e400a699a86c9fc20bfac2339d441ce89061 /fs/udf/super.c
parentudf: Fix spelling mistake "lenght" -> "length" (diff)
downloadwireguard-linux-256fe4162f8b5a1625b8603ca5f7ff79725bfb47.tar.xz
wireguard-linux-256fe4162f8b5a1625b8603ca5f7ff79725bfb47.zip
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>
Diffstat (limited to 'fs/udf/super.c')
0 files changed, 0 insertions, 0 deletions