Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d033c98b authored by Artem Bityutskiy's avatar Artem Bityutskiy Committed by Artem Bityutskiy
Browse files

UBIFS: always print stacktrace when switching to R/O mode



When switching to R/O mode due to an I/O error, always dump the stack, not only
when debugging is enabled.

Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
parent 891a54a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ void ubifs_ro_mode(struct ubifs_info *c, int err)
		c->no_chk_data_crc = 0;
		c->vfs_sb->s_flags |= MS_RDONLY;
		ubifs_warn("switched to read-only mode, error %d", err);
		dbg_dump_stack();
		dump_stack();
	}
}