diff options
Diffstat (limited to 'fs/ufs/balloc.c')
-rw-r--r-- | fs/ufs/balloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ufs/balloc.c b/fs/ufs/balloc.c index 1e7598fb978..0d9ada17373 100644 --- a/fs/ufs/balloc.c +++ b/fs/ufs/balloc.c | |||
@@ -277,7 +277,7 @@ static void ufs_change_blocknr(struct inode *inode, sector_t beg, | |||
277 | if (!page)/* it was truncated */ | 277 | if (!page)/* it was truncated */ |
278 | continue; | 278 | continue; |
279 | if (IS_ERR(page)) {/* or EIO */ | 279 | if (IS_ERR(page)) {/* or EIO */ |
280 | ufs_error(inode->i_sb, __FUNCTION__, | 280 | ufs_error(inode->i_sb, __func__, |
281 | "read of page %llu failed\n", | 281 | "read of page %llu failed\n", |
282 | (unsigned long long)index); | 282 | (unsigned long long)index); |
283 | continue; | 283 | continue; |
@@ -308,7 +308,7 @@ static void ufs_change_blocknr(struct inode *inode, sector_t beg, | |||
308 | ll_rw_block(READ, 1, &bh); | 308 | ll_rw_block(READ, 1, &bh); |
309 | wait_on_buffer(bh); | 309 | wait_on_buffer(bh); |
310 | if (!buffer_uptodate(bh)) { | 310 | if (!buffer_uptodate(bh)) { |
311 | ufs_error(inode->i_sb, __FUNCTION__, | 311 | ufs_error(inode->i_sb, __func__, |
312 | "read of block failed\n"); | 312 | "read of block failed\n"); |
313 | break; | 313 | break; |
314 | } | 314 | } |