Why does register_block release a bdev_inode instance at the end?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi, all:

It has been known that all inodes that represent block devices are kept on the bdev pseudo-filesystem.And I thought that a bdev_inode instance is generated when the function of register_disk is called.But why does register_disk release a bdev_inode instance by calling blkdev_put at the end? BTW, my kernel is linux-2.6.32.


Regards

Rock Lee
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux