Messages in this thread Patch in this message | | | From | Jiangshan Yi <> | Subject | [PATCH] fs/efs/inode.c: use __func__ instead of function name | Date | Mon, 19 Sep 2022 10:33:14 +0800 |
| |
From: Jiangshan Yi <yijiangshan@kylinos.cn>
It is better to use __func__ instead of function name.
Signed-off-by: Jiangshan Yi <yijiangshan@kylinos.cn> --- fs/efs/inode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/efs/inode.c b/fs/efs/inode.c index 3ba94bb005a6..ba15c7d66adc 100644 --- a/fs/efs/inode.c +++ b/fs/efs/inode.c @@ -141,8 +141,8 @@ struct inode *efs_iget(struct super_block *super, unsigned long ino) } brelse(bh); - pr_debug("efs_iget(): inode %lu, extents %d, mode %o\n", - inode->i_ino, in->numextents, inode->i_mode); + pr_debug("%s(): inode %lu, extents %d, mode %o\n", + __func__, inode->i_ino, in->numextents, inode->i_mode); switch (inode->i_mode & S_IFMT) { case S_IFDIR: inode->i_op = &efs_dir_inode_operations; -- 2.27.0
No virus found Checked by Hillstone Network AntiVirus
| |