Re: [NFS] [PATCH 006 of 9] knfsd: Remove nfsd_versbits as intermediate storage for desired versions.

J. Bruce Fields
2006-07-26T19:34:46Z

On Tue, Jul 25, 2006 at 11:54:52AM +1000, NeilBrown wrote:
> +int nfsd_vers(int vers, enum vers_op change)
> +{
> + if (vers < NFSD_MINVERS || vers >= NFSD_NRVERS)
> + return -1;

This isn't actually used; remove it or make it a BUG_ON()?

--b.