[PATCH] fs/efs/inode.c: use __func__ instead of function name

From: Jiangshan Yi
Date: Sun Sep 18 2022 - 22:34:29 EST


From: Jiangshan Yi <yijiangshan@xxxxxxxxxx>

It is better to use __func__ instead of function name.

Signed-off-by: Jiangshan Yi <yijiangshan@xxxxxxxxxx>
---
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