-
- /*
- * Check for a block which wants to lie outside our maximum possible
- * pagecache index. (this comparison is done using sector_t types).
- */
- if (unlikely(index != block >> sizebits)) {
- char b[BDEVNAME_SIZE];
-
- printk(KERN_ERR "%s: requested out-of-range block %llu for "
- "device %s\n",
- __FUNCTION__, (unsigned long long)block,
- bdevname(bdev, b));
- return -EIO;
- }