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

From: J. Bruce Fields
Date: Wed Jul 26 2006 - 15:32:41 EST


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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/