Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

UBIFS: fix non-debug configuration build

Fix a brown paperbag bug introduced by me in the previous commit. I was
in hurry and forgot about the non-debug case completely.

Artem: amend the commit message and tweak the patch to preserve alignment.
This made the patch a bit less readable, though.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>

authored by

Dominique Martinet and committed by
Artem Bityutskiy
e234b5f2 94b1984a

+17 -14
+17 -14
fs/ubifs/debug.h
··· 347 347 #define dbg_dump_stack() 348 348 #define ubifs_assert_cmt_locked(c) 349 349 350 - #define dbg_msg(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 351 - #define dbg_gen(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 352 - #define dbg_jnl(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 353 - #define dbg_tnc(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 354 - #define dbg_lp(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 355 - #define dbg_find(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 356 - #define dbg_mnt(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 357 - #define dbg_io(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 358 - #define dbg_cmt(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 359 - #define dbg_budg(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 360 - #define dbg_log(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 361 - #define dbg_gc(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 362 - #define dbg_scan(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 363 - #define dbg_rcvry(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 350 + #define dbg_msg(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 351 + #define dbg_gen(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 352 + #define dbg_jnl(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 353 + #define dbg_jnlk(key, fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 354 + #define dbg_tnc(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 355 + #define dbg_tnck(key, fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 356 + #define dbg_lp(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 357 + #define dbg_find(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 358 + #define dbg_mnt(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 359 + #define dbg_mntk(key, fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 360 + #define dbg_io(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 361 + #define dbg_cmt(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 362 + #define dbg_budg(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 363 + #define dbg_log(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 364 + #define dbg_gc(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 365 + #define dbg_scan(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 366 + #define dbg_rcvry(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 364 367 365 368 static inline int ubifs_debugging_init(struct ubifs_info *c) { return 0; } 366 369 static inline void ubifs_debugging_exit(struct ubifs_info *c) { return; }