ufs: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Cc: Jan Engelhardt <jengelh@linux01.gwdg.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
3c5afae2ba
commit
9746077a71
@@ -277,7 +277,7 @@ static void ufs_change_blocknr(struct inode *inode, sector_t beg,
|
||||
if (!page)/* it was truncated */
|
||||
continue;
|
||||
if (IS_ERR(page)) {/* or EIO */
|
||||
ufs_error(inode->i_sb, __FUNCTION__,
|
||||
ufs_error(inode->i_sb, __func__,
|
||||
"read of page %llu failed\n",
|
||||
(unsigned long long)index);
|
||||
continue;
|
||||
@@ -308,7 +308,7 @@ static void ufs_change_blocknr(struct inode *inode, sector_t beg,
|
||||
ll_rw_block(READ, 1, &bh);
|
||||
wait_on_buffer(bh);
|
||||
if (!buffer_uptodate(bh)) {
|
||||
ufs_error(inode->i_sb, __FUNCTION__,
|
||||
ufs_error(inode->i_sb, __func__,
|
||||
"read of block failed\n");
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user