[Yaffs] [Yaffs-archive] Re: mv in 2.5

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: Nick Bane
CC: yaffs list
Subject: [Yaffs] [Yaffs-archive] Re: mv in 2.5
On Wednesday 06 August 2003 05:01, Nick Bane wrote:
> Charles
>
> I am having segfaults in 2.5.70-rmk1-tcl1 (see
> http://62.49.201.250/balloon/ for sources)
> This always happens when I do a mv but never during a cp.
>
> The fault seems to be in ./fs/dcache.c in function d_move() where
> target->d_bucket is zero which I am pretty sure is wrong.


The VFS interface to YAFFS was the trickiest part to get right for 2.4, with
some very subtle things.

I don't have 2.5 kernel which makes testing a bit difficult. Maybe it is
time .....


>
> Any comments would be good as I am banging my head aginst this fruitlessly.
> I rather hope that it is some initialisation thing that I am missing in
> yaffs_fs like alloc_inode but I am drowning in source. If you look at
> yaffs_fs.c in the tree you will see a commented out jffs2 2.5 snippet that
> illustrates what they do in 2.5 and didnt in 2.4. Whether its
> important/crucial/optional I am not clear.


Will look.

It is also useful to compare against ext2. I found that JFFS2's VFS
interfacing was not always good and sometimes lead me astray.

-- Charles

---------------------------------------------------------------------------------------
This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from the list by
sending an email to with the text "unsubscribe"
(without the quotes) as the subject.