| Kernel v2.3.48 /fs/block_dev.c |
|---|
 2.3.48
 fs
 block_dev.c
diff -u --recursive --new-file v2.3.47/linux/fs/block_dev.c linux/fs/block_dev.c
--- v2.3.47/linux/fs/block_dev.c Wed Feb 16 17:03:52 2000
+++ linux/fs/block_dev.c Sat Feb 26 20:33:04 2000
@@ -193,7 +193,7 @@
if (blk_size[MAJOR(dev)])
size = (loff_t) blk_size[MAJOR(dev)][MINOR(dev)] << BLOCK_SIZE_BITS;
else
- size = INT_MAX;
+ size = (loff_t) INT_MAX << BLOCK_SIZE_BITS;
if (offset > size)
left = 0;
@@ -670,10 +670,6 @@
write: block_write,
fsync: block_fsync,
ioctl: blkdev_ioctl,
-};
-
-struct inode_operations blkdev_inode_operations = {
- &def_blk_fops, /* default file operations */
};
const char * bdevname(kdev_t dev)
|