diff options
author | Ryusuke Konishi <[email protected]> | 2016-08-02 14:05:00 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2016-08-02 19:35:16 -0400 |
commit | cae3d4ca6fd6872d8e9c21eff0e56398c938100a (patch) | |
tree | f333245bd16018ea3201aa6fde62454a9f84ff53 /lib/find_bit.c | |
parent | a310dcb7a43f971ee7d810fbbe36bd766a299717 (diff) |
nilfs2: hide function name argument from nilfs_error()
Simplify nilfs_error(), an output function used to report critical
issues in file system. This renames the original nilfs_error() function
to __nilfs_error() and redefines it as a macro to hide its function name
argument within the macro.
Every call site of nilfs_error() is changed to strip __func__ argument
except nilfs_bmap_convert_error(); nilfs_bmap_convert_error() directly
calls __nilfs_error() because it inherits caller's function name.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ryusuke Konishi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/find_bit.c')
0 files changed, 0 insertions, 0 deletions