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

Chris Mason chris.mason at oracle.com
Wed Aug 15 12:24:59 PDT 2007


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 ;)

-chris





More information about the Btrfs-devel mailing list