lkml.org 
[lkml]   [2019]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRemoval of dump_stack()s from /fs/ubifs/io.c
Date
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?

Example:
What is the usecase of the dump_stack in the following code snippet in file /fs/ubifs/io.c?
if (err) {
ubifs_err(c, "changing %d bytes in LEB %d failed, error %d",
len, lnum, err);
ubifs_ro_mode(c, err);
dump_stack();
}

Regards,

\
 
 \ /
  Last update: 2019-05-15 22:53    [W:0.039 / U:4.852 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site