Re: blkdev_get() HOWTO

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

 



Le lun 12/01/2004 à 06:46, Muthukumar Ratty a écrit :
> > >         printk(KERN_INFO "using device %s\n", bdev->bd_disk->disk_name);
> 
> 
> Check if name is not NULL before printing...
> 
> if(bdev->bd_disk->disk_name)
> 	....
> 
> if its not the problem may be a oops trace can help.

It wasn't the problem. Al Viro solved it for me: just don't use
blkdev_get() :)

Thanks,

	Xav


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[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