[lvc-project] [PATCH v2 5.10.y] udf: Fold udf_getblk() into udf_bread()

Fedor Pchelkin pchelkin at ispras.ru
Fri Sep 20 17:02:09 MSK 2024


On Thu, 19. Sep 22:55, Sergey Shtylyov wrote:
> Subject: [PATCH v2 5.10.y] udf: Fold udf_getblk() into udf_bread()
> 
> From: Jan Kara <jack at suse.cz>
> 
> [ Upstream commit 32f123a3f34283f9c6446de87861696f0502b02e ]
> 
> udf_getblk() has a single call site. Fold it there.
> 
> [Sergey: moved back to using udf_get_block() and buffer_{mapped|new}().]
> 
> Signed-off-by: Jan Kara <jack at suse.cz>
> Signed-off-by: Sergey Shtylyov <s.shtylyov at omp.ru>
> 
> ---
> This patch prevents NULL pointer dereference in case sb_getblk() fails...
> 
> Changes in version 2:
> - mentioned the original commit.
> 
>  fs/udf/inode.c |   45 +++++++++++++++++++--------------------------
>  1 file changed, 19 insertions(+), 26 deletions(-)
> 

Патчи для 6.1 и 5.10 добавлены в соответствующие LVC-ветки. Спасибо!



More information about the lvc-project mailing list