Re: [PATCH 2/3] NFSD: Create nfs v4.2 decode ops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 27, 2014 at 10:42:31AM -0700, Christoph Hellwig wrote:
> On Wed, Aug 27, 2014 at 11:17:57AM -0400, bjschuma@xxxxxxxxxx wrote:
> > From: Anna Schumaker <Anna.Schumaker@xxxxxxxxxx>
> > 
> > It's cleaner to introduce everything at once and have the server reply
> > with "not supported" than it would be to introduce extra operations when
> > implementing a specific one in the middle of the list.
> 
> What prevents a client from calling the new operations on a 4.1 session?

fs/nfsd/nfs4xdr.c:nfsd4_opnum_in_range(), which just uses minorversion
and the LAST_NFS4?_OP constants.

--b.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux