Re: Is CD-DA supported in kernel 2.6

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

 



Hi Adam,

For personal use only:

 mnt = alloc_vfsmnt(name);
        if (!mnt)
                goto out;

The name here is your mount point. Re-check.
This should solve your issue. If you just want to get away with it.

The intention of the above function ( get_sb_bdev) also includes to
set the mountpoint for a device.
So, you allocate a mnt and then pass it to get_sb_bdev.


On Wed, Jun 17, 2009 at 11:23 AM, SandeepKsinha<sandeepksinha@xxxxxxxxx> wrote:
>
>
> On Wed, Jun 17, 2009 at 10:07 AM, Adam Jiang <jiang.adam@xxxxxxxxx> wrote:
>>
>> Hello,
>>
>> There are a few questions about cddafs, could you please help me to
>> answer them?
>>
>> 1. Is there any CDDA filesystem support in kernel 2.6.18? I found an
>> implementation for kernel 2.4 is located here:
>>
>> http://www.ii.pw.edu.pl/~borkowsm/cdfs.htm
>>
>> But the download links are broken. Has CDDA fs been merged to kernel
>> 2.6?
>>
>> 2. I got a copy of source code from one of my friends. But when I
>> try to compile it. Some compiling error happened.
>>
>> ERROR MSG:
>> ================================================================
>> /home/rcwf64/workspace/VIP2000/cddafs/inode.c:1532: error: too few
>> arguments to function 'get_sb_bdev'
>>
>> SOURCE CODE:
>> ================================================================
>> return get_sb_bdev(fs_type, flags, dev_name, data, cddafs_fill_super);
>>
>> I can get the prototype definition in lxr here,
>>
>> http://lxr.linux.no/linux+v2.6.30/include/linux/fs.h#L1761
>>
>> obviousely, a 'struct vfsmount *mnt' is missing. What kind of
>> parameter is actually needed? And how can I specify one for this? Is
>> 'NULL' OK here?
>
> Making changes at individual places will not be the right approach.
> What I suspect is that the source if for 2.4 Kernel and you are trying to
> compile it against 2.6 Kernel.
>
> So, better look for a completely ported solution for 2.6, if thats the
> issue.
>
>
>>
>> Thanks and best regards,
>>
>> --
>> Adam Jiang
>> ------------------------------------------
>> e-mail:jiang.adam@xxxxxxxxx
>>
>> --
>> To unsubscribe from this list: send an email with
>> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
>> Please read the FAQ at http://kernelnewbies.org/FAQ
>>
>
>
>
> --
> Regards,
> Sandeep.
>
>
>
>
>
>
> “To learn is to change. Education is a process that changes the learner.”
>



-- 
Regards,
Sandeep.





 	
“To learn is to change. Education is a process that changes the learner.”

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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