Re: [PATCH 09/18] nfsd: implement pNFS operations

Christoph Hellwig
2015-01-09T10:05:58Z

On Thu, Jan 08, 2015 at 04:48:51PM -0800, Jeff Layton wrote:
> > + nfsd4_return_all_file_layouts(stp->st_stateowner->so_client,
> > + stp->st_stid.sc_file);
> > +
>
> Shouldn't the above be conditional on whether the lg_roc was true?

There is no support for non-lg_roc layouts at the moment.

In general I've avoided adding code that isn't used, as they can't
be tested and thus most likely won't work.