determine file size from within a kernel module

From: ruben (ruben.list_at_Nospamplease.dzine.be)
Date: 03/22/04


Date: Mon, 22 Mar 2004 10:48:55 GMT

Hi,

I'm not sure if this is the right group to ask this question. If not,
where should I ask this question?

I need an easy way to determine the size of an ordinary file from within
a kernel module.
I also would like to know how to seek through a file.

thanks