Unified · Split
| @@ -403,7 +403,9 @@ static int ufs_getfrag_block(struct inode *inode, sector_t fragment, struct buff · 402 unmodified lines | ||
| 403 | 403 | |
| 404 | 404 | if (!create) { |
| 405 | 405 | phys64 = ufs_frag_map(inode, offsets, depth); |
| 406 | − goto out; | |
| 406 | + if (phys64) | |
| 407 | + map_bh(bh_result, sb, phys64 + frag); | |
| 408 | + return 0; | |
| 407 | 409 | } |
| 408 | 410 | |
| 409 | 411 | /* This code entered only while writing ....? */ |