mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Removal of dump_stack()s from  /fs/ubifs/io.c
@ 2019-05-15 20:45 Shreya Gangan (shgangan)
  2019-05-15 21:00 ` Richard Weinberger
  0 siblings, 1 reply; 4+ messages in thread
From: Shreya Gangan (shgangan) @ 2019-05-15 20:45 UTC (permalink / raw)
  To: linux-mtd; +Cc: linux-kernel

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,


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-05-16  8:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-15 20:45 Removal of dump_stack()s from /fs/ubifs/io.c Shreya Gangan (shgangan)
2019-05-15 21:00 ` Richard Weinberger
2019-05-15 23:27   ` Shreya Gangan (shgangan)
2019-05-16  8:27     ` Richard Weinberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®