diff options
Diffstat (limited to 'fs/ocfs2/inode.c')
-rw-r--r-- | fs/ocfs2/inode.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/ocfs2/inode.c b/fs/ocfs2/inode.c index 08d57a3d4e83..5ff8549eb1a3 100644 --- a/fs/ocfs2/inode.c +++ b/fs/ocfs2/inode.c | |||
@@ -1003,9 +1003,6 @@ void ocfs2_clear_inode(struct inode *inode) | |||
1003 | "Clear inode of %llu, inode has io markers\n", | 1003 | "Clear inode of %llu, inode has io markers\n", |
1004 | (unsigned long long)oi->ip_blkno); | 1004 | (unsigned long long)oi->ip_blkno); |
1005 | 1005 | ||
1006 | ocfs2_extent_map_drop(inode, 0); | ||
1007 | ocfs2_extent_map_init(inode); | ||
1008 | |||
1009 | status = ocfs2_drop_inode_locks(inode); | 1006 | status = ocfs2_drop_inode_locks(inode); |
1010 | if (status < 0) | 1007 | if (status < 0) |
1011 | mlog_errno(status); | 1008 | mlog_errno(status); |
@@ -1102,8 +1099,7 @@ struct buffer_head *ocfs2_bread(struct inode *inode, | |||
1102 | return NULL; | 1099 | return NULL; |
1103 | } | 1100 | } |
1104 | 1101 | ||
1105 | tmperr = ocfs2_extent_map_get_blocks(inode, block, 1, | 1102 | tmperr = ocfs2_extent_map_get_blocks(inode, block, &p_blkno, NULL); |
1106 | &p_blkno, NULL); | ||
1107 | if (tmperr < 0) { | 1103 | if (tmperr < 0) { |
1108 | mlog_errno(tmperr); | 1104 | mlog_errno(tmperr); |
1109 | goto fail; | 1105 | goto fail; |