[Btrfs-devel] btrfs_mknod doesn't save device number.

Chris Mason chris.mason at oracle.com
Wed Aug 15 12:58:57 PDT 2007


On Wed, 15 Aug 2007 15:24:59 -0400
Chris Mason <chris.mason at oracle.com> wrote:

> On Thu, 16 Aug 2007 02:23:09 +0800
> "Yan Zheng" <yanzheng at 21cn.com> wrote:
> 
> > Hello,
> > 
> > It's seen that btrfs_mknod doesn't save device number in rdev field
> > of inode. you can test the issue by: (1) create a device file with
> > non-zero major and minor device number (2) umount the filesystem (3)
> > mount the filesystem. after do the steps above, you can find both
> > major and minor device number become zero.
> 
> I'd like to keep it out until we have code that can test it (ie the
> sysfs work ;)

Um, this reply went to the wrong thread, sorry.

-chris



More information about the Btrfs-devel mailing list