[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220919023314.3622391-1-13667453960@163.com>
Date: Mon, 19 Sep 2022 10:33:14 +0800
From: Jiangshan Yi <13667453960@....com>
To: akpm@...ux-foundation.org, viro@...iv.linux.org.uk
Cc: willy@...radead.org, linux-kernel@...r.kernel.org,
Jiangshan Yi <yijiangshan@...inos.cn>
Subject: [PATCH] fs/efs/inode.c: use __func__ instead of function name
From: Jiangshan Yi <yijiangshan@...inos.cn>
It is better to use __func__ instead of function name.
Signed-off-by: Jiangshan Yi <yijiangshan@...inos.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
Powered by blists - more mailing lists