Re: fs/nfs - cleanup function declarations

Trond Myklebust
2005-10-31T12:35:06Z

On Mon, 2005-10-31 at 12:29 +0000, Ben Dooks wrote:
> Cleanup sparse warnings from fs/nfs, mainly
> due to undeclared functions or missing static
> from functions.
>
> This patch does the following:
>
> 1) place static on both the nfs_llseek_dir and
> nfs_fsync_dir in dir.c as they where earlier
> declared static
>
> 2) add shared.h, and put declarations of the
> init functions into it.
>
> 3) use inline to remove DIRECTIO initialisation
> support to cleanup the init/exit code paths
>
> Signed-off-by: Ben Dooks <ben-linux@fluff.org>

ACKed

Cheers,
Trond