diff options
| author | Maksim Rayskiy <[email protected]> | 2011-04-12 22:14:56 +0000 |
|---|---|---|
| committer | Artem Bityutskiy <[email protected]> | 2011-04-13 08:59:09 +0000 |
| commit | 1dcffad74183bb00e8129ba1c5bb2c9931d31bd7 (patch) | |
| tree | a7553e2f7a24fd24f3313fd15140b0200d6c56ad /fs/jbd2/commit.c | |
| parent | UBIFS: fix oops when R/O file-system is fsync'ed (diff) | |
| download | kernel-1dcffad74183bb00e8129ba1c5bb2c9931d31bd7.tar.gz kernel-1dcffad74183bb00e8129ba1c5bb2c9931d31bd7.zip | |
UBIFS: fix compilation warnings when compiling with gcc 4.5
When compiling UBIFS with CONFIG_UBIFS_FS_DEBUG not set,
gcc-4.5.2 generates a slew of "warning: statement with no effect"
on references to non-void functions defined as 0.
To avoid these warnings, replace #defines with dummy inline functions.
Artem: massage the patch a bit, also remove the duplicate
'dbg_check_lprops()' prototype.
Signed-off-by: Maksim Rayskiy <[email protected]>
Acked-by: Mike Frysinger <[email protected]>
Signed-off-by: Artem Bityutskiy <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
