> > 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. Muthu. > > blkdev_put(bdev, BDEV_RAW); > > no_get: > > bdput(bdev); > > no_bdev: > > return; > > } > > This function gets called inside proc_file_write. I'm using a 2.6.0 > kernel. Any hint on what I get wrong ? > > Thanks, > > Xav > > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/