aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ocfs2/aops.c2
-rw-r--r--fs/ocfs2/dir.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/ocfs2/aops.c b/fs/ocfs2/aops.c
index 1ef547e49373..d9f222987f24 100644
--- a/fs/ocfs2/aops.c
+++ b/fs/ocfs2/aops.c
@@ -1251,7 +1251,7 @@ static int ocfs2_write_cluster(struct address_space *mapping,
1251 ret = ocfs2_extent_map_get_blocks(inode, v_blkno, &p_blkno, NULL, 1251 ret = ocfs2_extent_map_get_blocks(inode, v_blkno, &p_blkno, NULL,
1252 NULL); 1252 NULL);
1253 if (ret < 0) { 1253 if (ret < 0) {
1254 ocfs2_error(inode->i_sb, "Corrupting extend for inode %llu, " 1254 mlog(ML_ERROR, "Get physical blkno failed for inode %llu, "
1255 "at logical block %llu", 1255 "at logical block %llu",
1256 (unsigned long long)OCFS2_I(inode)->ip_blkno, 1256 (unsigned long long)OCFS2_I(inode)->ip_blkno,
1257 (unsigned long long)v_blkno); 1257 (unsigned long long)v_blkno);
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c
index 0717662b4aef..e6dc0288dbb9 100644
--- a/fs/ocfs2/dir.c
+++ b/fs/ocfs2/dir.c
@@ -744,7 +744,7 @@ restart:
744 if (ocfs2_read_dir_block(dir, block, &bh, 0)) { 744 if (ocfs2_read_dir_block(dir, block, &bh, 0)) {
745 /* read error, skip block & hope for the best. 745 /* read error, skip block & hope for the best.
746 * ocfs2_read_dir_block() has released the bh. */ 746 * ocfs2_read_dir_block() has released the bh. */
747 ocfs2_error(dir->i_sb, "reading directory %llu, " 747 mlog(ML_ERROR, "reading directory %llu, "
748 "offset %lu\n", 748 "offset %lu\n",
749 (unsigned long long)OCFS2_I(dir)->ip_blkno, 749 (unsigned long long)OCFS2_I(dir)->ip_blkno,
750 block); 750 block);