diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-05-16 19:04:54 +0300 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-05-16 19:04:54 +0300 |
commit | 7c46d0ae29ba880963db283706950de7aa86c0a0 (patch) | |
tree | 1ba1ba22f2281dda27116443db50ebbcfc84cc09 /fs/ubifs/debug.c | |
parent | 1bdcc63112a0fe10030abee6ad71aaecd091e68e (diff) | |
download | linux-3.10-7c46d0ae29ba880963db283706950de7aa86c0a0.tar.gz linux-3.10-7c46d0ae29ba880963db283706950de7aa86c0a0.tar.bz2 linux-3.10-7c46d0ae29ba880963db283706950de7aa86c0a0.zip |
UBIFS: get rid of dbg_dump_stack
In case of errors we almost always need the stack dump - it makes no sense
to compile it out. Remove the 'dbg_dump_stack()' function completely.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'fs/ubifs/debug.c')
-rw-r--r-- | fs/ubifs/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/debug.c b/fs/ubifs/debug.c index 1934084e208..139025ad2ec 100644 --- a/fs/ubifs/debug.c +++ b/fs/ubifs/debug.c @@ -1160,7 +1160,7 @@ int dbg_check_synced_i_size(const struct ubifs_info *c, struct inode *inode) "is clean", ui->ui_size, ui->synced_i_size); ubifs_err("i_ino %lu, i_mode %#x, i_size %lld", inode->i_ino, inode->i_mode, i_size_read(inode)); - dbg_dump_stack(); + dump_stack(); err = -EINVAL; } spin_unlock(&ui->ui_lock); |