aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/extent_map.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/extent_map.c')
-rw-r--r--fs/ocfs2/extent_map.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ocfs2/extent_map.c b/fs/ocfs2/extent_map.c
index 09e3fdfa6d33..ed9916a9a271 100644
--- a/fs/ocfs2/extent_map.c
+++ b/fs/ocfs2/extent_map.c
@@ -841,10 +841,10 @@ int ocfs2_read_virt_blocks(struct inode *inode, u64 v_block, int nr,
841 u64 p_block, p_count; 841 u64 p_block, p_count;
842 int i, count, done = 0; 842 int i, count, done = 0;
843 843
844 mlog_entry("(inode = %p, v_block = %llu, nr = %d, bhs = %p, " 844 mlog(0, "(inode = %p, v_block = %llu, nr = %d, bhs = %p, "
845 "flags = %x, validate = %p)\n", 845 "flags = %x, validate = %p)\n",
846 inode, (unsigned long long)v_block, nr, bhs, flags, 846 inode, (unsigned long long)v_block, nr, bhs, flags,
847 validate); 847 validate);
848 848
849 if (((v_block + nr - 1) << inode->i_sb->s_blocksize_bits) >= 849 if (((v_block + nr - 1) << inode->i_sb->s_blocksize_bits) >=
850 i_size_read(inode)) { 850 i_size_read(inode)) {