[XFS] replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ SGI-PV: 976035 SGI-Modid: xfs-linux-melb:xfs-kern:30775a Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David Chinner <dgc@sgi.com> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
This commit is contained in:
committed by
Lachlan McIlroy
parent
0225da1f35
commit
34a622b2e1
@@ -400,7 +400,7 @@ _xfs_buf_lookup_pages(
|
||||
printk(KERN_ERR
|
||||
"XFS: possible memory allocation "
|
||||
"deadlock in %s (mode:0x%x)\n",
|
||||
__FUNCTION__, gfp_mask);
|
||||
__func__, gfp_mask);
|
||||
|
||||
XFS_STATS_INC(xb_page_retries);
|
||||
xfsbufd_wakeup(0, gfp_mask);
|
||||
@@ -598,7 +598,7 @@ xfs_buf_get_flags(
|
||||
error = _xfs_buf_map_pages(bp, flags);
|
||||
if (unlikely(error)) {
|
||||
printk(KERN_WARNING "%s: failed to map pages\n",
|
||||
__FUNCTION__);
|
||||
__func__);
|
||||
goto no_buffer;
|
||||
}
|
||||
}
|
||||
@@ -778,7 +778,7 @@ xfs_buf_get_noaddr(
|
||||
error = _xfs_buf_map_pages(bp, XBF_MAPPED);
|
||||
if (unlikely(error)) {
|
||||
printk(KERN_WARNING "%s: failed to map pages\n",
|
||||
__FUNCTION__);
|
||||
__func__);
|
||||
goto fail_free_mem;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user