Revert "ocfs2: fix uninit-value in ocfs2_get_block()"
This reverts commit 33b11064c4
.
This commit is contained in:
parent
dfe3742af2
commit
2de4d41368
1 changed files with 3 additions and 2 deletions
|
@ -158,8 +158,9 @@ int ocfs2_get_block(struct inode *inode, sector_t iblock,
|
||||||
err = ocfs2_extent_map_get_blocks(inode, iblock, &p_blkno, &count,
|
err = ocfs2_extent_map_get_blocks(inode, iblock, &p_blkno, &count,
|
||||||
&ext_flags);
|
&ext_flags);
|
||||||
if (err) {
|
if (err) {
|
||||||
mlog(ML_ERROR, "get_blocks() failed, inode: 0x%p, "
|
mlog(ML_ERROR, "Error %d from get_blocks(0x%p, %llu, 1, "
|
||||||
"block: %llu\n", inode, (unsigned long long)iblock);
|
"%llu, NULL)\n", err, inode, (unsigned long long)iblock,
|
||||||
|
(unsigned long long)p_blkno);
|
||||||
goto bail;
|
goto bail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue