Messages in this thread | | | Date | Sun, 13 Feb 2000 01:54:31 -0500 (EST) | From | Alexander Viro <> | Subject | Re: [FIX] rd.c (was Re: Linux Status For 2.3.x: v 2.3.43) |
| |
On Thu, 10 Feb 2000 willy@thepuffingroup.com wrote:
> + inode->i_rdev = device; > + inode->i_bdev = bdget(kdev_t_to_nr(device));
Erm... Why not init_special_inode(inode, S_IFBLK|S_IRUSR, kdev_to_nr(device));
> + out_inode->i_rdev = ram_device; > + out_inode->i_bdev = bdget(kdev_t_to_nr(ram_device));
... and similar here?
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |