[Yaffs] Fix in yaffs/direct/yaffsfs.c

Charles Manning manningc2@actrix.gen.nz
Mon, 22 Nov 2004 12:41:38 +1300


Hi All

I found that there was a problem in the YAFFS/direct device look up which=
=20
could cause the wrong device to be matched.

If the device list contains a device with a path prefix that is a substri=
ng=20
of another (eg. /flash" and "/flash1", then the wrong device could be fou=
nd=20
(ie. could find "/flash" instead of "/flash1").

This has been fixed.

-- Charles