diff options
Diffstat (limited to 'fs/ocfs2/suballoc.c')
-rw-r--r-- | fs/ocfs2/suballoc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ocfs2/suballoc.c b/fs/ocfs2/suballoc.c index 5397c07ce608..2c91452c4047 100644 --- a/fs/ocfs2/suballoc.c +++ b/fs/ocfs2/suballoc.c | |||
@@ -481,7 +481,7 @@ ocfs2_block_group_alloc_contig(struct ocfs2_super *osb, handle_t *handle, | |||
481 | 481 | ||
482 | bg_bh = sb_getblk(osb->sb, bg_blkno); | 482 | bg_bh = sb_getblk(osb->sb, bg_blkno); |
483 | if (!bg_bh) { | 483 | if (!bg_bh) { |
484 | status = -EIO; | 484 | status = -ENOMEM; |
485 | mlog_errno(status); | 485 | mlog_errno(status); |
486 | goto bail; | 486 | goto bail; |
487 | } | 487 | } |
@@ -661,7 +661,7 @@ ocfs2_block_group_alloc_discontig(handle_t *handle, | |||
661 | 661 | ||
662 | bg_bh = sb_getblk(osb->sb, bg_blkno); | 662 | bg_bh = sb_getblk(osb->sb, bg_blkno); |
663 | if (!bg_bh) { | 663 | if (!bg_bh) { |
664 | status = -EIO; | 664 | status = -ENOMEM; |
665 | mlog_errno(status); | 665 | mlog_errno(status); |
666 | goto bail; | 666 | goto bail; |
667 | } | 667 | } |