udf: Handle error when expanding directory
authorJan Kara <jack@suse.cz>
Mon, 19 Dec 2022 18:50:14 +0000 (19:50 +0100)
committerJan Kara <jack@suse.cz>
Mon, 9 Jan 2023 09:39:52 +0000 (10:39 +0100)
commit33e9a53cd9f099b138578f8e1a3d60775ff8cbba
tree8d2f43473dae39a6514c7158d06fb963c82bec9a
parent53cafe1d6d8ef9f93318e5bfccc0d24f27d41ced
udf: Handle error when expanding directory

When there is an error when adding extent to the directory to expand it,
make sure to propagate the error up properly. This is not expected to
happen currently but let's make the code more futureproof.

Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/namei.c