Brad Beveridge observed and tried something similar.
I accepted the changes from Nick Bane in blind faith. I expect Nick
lifted this from somewhere else.
I'll just change as per your suggestion. If it breaks they will complain
:-).
-- Charles
> -----Original Message-----
> From: yaffs-admin@stoneboat.aleph1.co.uk
> [mailto:yaffs-admin@stoneboat.aleph1.co.uk] On Behalf Of Frank Rowand
> Sent: Friday, 17 December 2004 1:36 p.m.
> To: yaffs@stoneboat.aleph1.co.uk
> Cc: frowand@mvista.com
> Subject: [Yaffs] yaffs kill_sb function and umount error
>
>
> When I umount a yaffs file system on linux 2.6.9, I get the error:
>
> VFS: Busy inodes after unmount. Self-destruct in 5
> seconds. Have a nice day...
>
>
> In yaffs/yaffs_fs.c, I changed the .kill_sb function from
> kill_litter_super() to kill_block_super(). This made the
> symptom of the error message disappear.
>
> This area of the kernel is not my area of expertise - this
> was not a fully informed fix, but more of a stab in the dark.
> Can anyone provide advice on whether this is a good way to
> fix the problem or whether a different approach would be more correct?
>
> Thanks!
>
> -Frank
> --
> Frank Rowand <frank_rowand@mvista.com>
> MontaVista Software, Inc
>
>
> _______________________________________________
> yaffs mailing list
> yaffs@stoneboat.aleph1.co.uk
> http://stoneboat.aleph1.co.uk/cgi-> bin/mailman/listinfo/yaffs
>