summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDwaipayan Ray <dwaipayanray1@gmail.com>2021-08-09 10:14:45 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-08-11 09:13:12 -0700
commitedf27485eb566abae809517520a9adbc242b8b39 (patch)
tree02ff4ed99d28e50911bf3e65f7194a534ab9b7cf
parent5e68b4c7fb6414c4a48b6d2988312e3b1f31978e (diff)
__FUNCTION__ exists only for backwards compatibility reasons with old gcc versions. Replace it with __func__. Signed-off-by: Dwaipayan Ray <dwaipayanray1@gmail.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
-rw-r--r--fs/xfs/xfs_icreate_item.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_icreate_item.c b/fs/xfs/xfs_icreate_item.c
index 9b3994b9c716..017904a34c02 100644
--- a/fs/xfs/xfs_icreate_item.c
+++ b/fs/xfs/xfs_icreate_item.c
@@ -201,7 +201,7 @@ xlog_recover_icreate_commit_pass2(
if (length != igeo->ialloc_blks &&
length != igeo->ialloc_min_blks) {
xfs_warn(log->l_mp,
- "%s: unsupported chunk length", __FUNCTION__);
+ "%s: unsupported chunk length", __func__);
return -EINVAL;
}
@@ -209,7 +209,7 @@ xlog_recover_icreate_commit_pass2(
if ((count >> mp->m_sb.sb_inopblog) != length) {
xfs_warn(log->l_mp,
"%s: inconsistent inode count and chunk length",
- __FUNCTION__);
+ __func__);
return -EINVAL;
}