aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/extents.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
index 754c0d36d162..8593e59020fe 100644
--- a/fs/ext4/extents.c
+++ b/fs/ext4/extents.c
@@ -2462,12 +2462,12 @@ retry:
2462 ret = ext4_ext_get_blocks(handle, inode, block, 2462 ret = ext4_ext_get_blocks(handle, inode, block,
2463 max_blocks, &map_bh, 2463 max_blocks, &map_bh,
2464 EXT4_CREATE_UNINITIALIZED_EXT, 0); 2464 EXT4_CREATE_UNINITIALIZED_EXT, 0);
2465 WARN_ON(!ret); 2465 WARN_ON(ret <= 0);
2466 if (!ret) { 2466 if (ret <= 0) {
2467 ext4_error(inode->i_sb, "ext4_fallocate", 2467 ext4_error(inode->i_sb, "ext4_fallocate",
2468 "ext4_ext_get_blocks returned 0! inode#%lu" 2468 "ext4_ext_get_blocks returned error: "
2469 ", block=%u, max_blocks=%lu", 2469 "inode#%lu, block=%u, max_blocks=%lu",
2470 inode->i_ino, block, max_blocks); 2470 inode->i_ino, block, max_blocks);
2471 ret = -EIO; 2471 ret = -EIO;
2472 ext4_mark_inode_dirty(handle, inode); 2472 ext4_mark_inode_dirty(handle, inode);
2473 ret2 = ext4_journal_stop(handle); 2473 ret2 = ext4_journal_stop(handle);