Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294651
b: refs/heads/master
c: b06283c
h: refs/heads/master
i:
  294649: f78eaff
  294647: 86fd38c
v: v3
  • Loading branch information
Artem Bityutskiy committed Feb 29, 2012
1 parent ac4f4f0 commit f5a162d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 16c395ca72a79115653892c0724d4928f72520fe
refs/heads/master: b06283c7df35b5a49ab141ed38e0280821379096
2 changes: 1 addition & 1 deletion trunk/fs/ubifs/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

#ifdef CONFIG_UBIFS_FS_DEBUG

DEFINE_SPINLOCK(dbg_lock);
static DEFINE_SPINLOCK(dbg_lock);

static const char *get_key_fmt(int fmt)
{
Expand Down
3 changes: 0 additions & 3 deletions trunk/fs/ubifs/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,7 @@ struct ubifs_global_debug_info {
#define dbg_dump_stack() dump_stack()

#define dbg_err(fmt, ...) do { \
spin_lock(&dbg_lock); \
ubifs_err(fmt, ##__VA_ARGS__); \
spin_unlock(&dbg_lock); \
} while (0)

#define ubifs_dbg_msg(type, fmt, ...) \
Expand Down Expand Up @@ -217,7 +215,6 @@ struct ubifs_global_debug_info {
/* Additional recovery messages */
#define dbg_rcvry(fmt, ...) ubifs_dbg_msg("rcvry", fmt, ##__VA_ARGS__)

extern spinlock_t dbg_lock;
extern struct ubifs_global_debug_info ubifs_dbg;

static inline int dbg_is_chk_gen(const struct ubifs_info *c)
Expand Down

0 comments on commit f5a162d

Please sign in to comment.