All of lore.kernel.org
 help / color / mirror / Atom feed
* Removal of dump_stack()s from  /fs/ubifs/io.c
@ 2019-05-15 20:45 ` Shreya Gangan (shgangan)
  0 siblings, 0 replies; 8+ 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] 8+ messages in thread

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

Thread overview: 8+ 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 20:45 ` Shreya Gangan (shgangan)
2019-05-15 21:00 ` Richard Weinberger
2019-05-15 21:00   ` Richard Weinberger
2019-05-15 23:27   ` Shreya Gangan (shgangan)
2019-05-15 23:27     ` Shreya Gangan (shgangan)
2019-05-16  8:27     ` Richard Weinberger
2019-05-16  8:27       ` Richard Weinberger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.