Re: help with ext3 reserved inode

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

 



On Sun, Jul 5, 2009 at 7:30 PM, Donato Capitella<d.capitella@xxxxxx> wrote:
> Hi there,
> I need some help with a patch to the ext3 filesystem I'm developing. I'm
> completelly new to kernel programming and I need to understand
> practically how to use one of the ext3 reserved inode for storing a log.
>
> I thought it would be just as easy as getting the inode with the
> ext3_iget() function, but it doesn't seem to be the case. For example,
> if I try to load the third reserved inode like this :
>
> inode = ext3_iget(sb, 3);
>
> ext3_iget() fails somehow and crashes the process with a NULL pointer
> reference. What am I missing here?
Have you created the inode 3 ? What entries does it have ? What does
"stat <3>" show from the debugfs ?

Thanks -
Manish


> How do you use a reserved inode? Can
> anybody point to some documentation or project that uses reserved
> inodes?
>
> I'm really stuck :(
>
> Thanks a lot,
> Donato Capitella
>
>
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>



-- 
Thanks -
Manish

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