[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question on 'jffs_statfs'...
On Thu, 21 Sep 2000, Steven J. Hill wrote:
> I am concerned about 'jffs_statfs' which is used to handle the
> 'statfs' or 'fstatfs' system calls. There is no check to verify that
> 'sb->u.generic_sbp' is even valid. Is this an oversight or is checking
> done further up before the call is even made to 'jffs_statfs'? Thanks.
sb->generic_sbp is set by jffs_build_fs() when the filesystem is
mounted. There's no way that it could be invalid by the time you're