Re: Removal of dump_stack()s from /fs/ubifs/io.c
From: Richard Weinberger
Date: Wed May 15 2019 - 17:02:37 EST
On Wed, May 15, 2019 at 10:45 PM Shreya Gangan (shgangan)
<shgangan@xxxxxxxxx> wrote:
>
> Hi,
>
> /fs/ubifs/io.c has dump_stack() in multiple functions upon errors and sometimes warnings.
> Since the error and warning messages seem to be unique, the functional value of these dump_stacks is not apparent.
> Why are these dump_stacks required and what issues might occur upon the removal of these?
They are not required, but they are just useful. While you are right
that the locations within UBIFS
are unique, they are not for the whole kernel context.
Filesystem functions can get called via many different paths from VFS...
Why do you want to remove them, what is the benefit?
--
Thanks,
//richard