Re: [PATCH 1/4] isofs: Delete an error message for a failed memory allocation in isofs_read_inode()

From: Jan Kara
Date: Mon Aug 21 2017 - 10:06:25 EST


On Sat 19-08-17 09:15:57, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> Date: Fri, 18 Aug 2017 21:41:24 +0200
>
> Omit an extra message for a memory allocation failure in this function.
>
> This issue was detected by using the Coccinelle software.
>
> Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>

Thanks. Applied to my tree.

Honza

> ---
> fs/isofs/inode.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/fs/isofs/inode.c b/fs/isofs/inode.c
> index 217a5e7815da..2d3f090944df 100644
> --- a/fs/isofs/inode.c
> +++ b/fs/isofs/inode.c
> @@ -1324,4 +1324,3 @@ static int isofs_read_inode(struct inode *inode, int relocated)
> - printk(KERN_INFO "%s: out of memory\n", __func__);
> ret = -ENOMEM;
> goto fail;
> }
> --
> 2.14.0
>
--
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR