[pnfs] [PATCH] pnfs: ensure that nfsd requires a filehandle for GETDEVICELIST

Benny Halevy bhalevy at panasas.com
Fri May 2 06:17:53 EDT 2008


On May. 01, 2008, 20:20 +0300, "David M. Richter" <richterd at citi.umich.edu> wrote:
> No longer set the ALLOWED_WITHOUT_FH flag for OP_GETDEVICELIST.
> 
> Signed-off-by: David M. Richter <richterd at citi.umich.edu>

Thanks!
Renamed to "pnfsd: ..." and applied onto the pnfs branch.

Benny

> ---
>  fs/nfsd/nfs4proc.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
> index 48ff093..19c9805 100644
> --- a/fs/nfsd/nfs4proc.c
> +++ b/fs/nfsd/nfs4proc.c
> @@ -1571,7 +1571,6 @@ static struct nfsd4_operation nfsd4_ops[NFSD4_LAST_OP+1] = {
>  #if defined(CONFIG_PNFSD)
>  	[OP_GETDEVICELIST] = {
>  		.op_func = (nfsd4op_func)nfsd4_getdevlist,
> -		.op_flags = ALLOWED_WITHOUT_FH,
>  	},
>  	[OP_GETDEVICEINFO] = {
>  		.op_func = (nfsd4op_func)nfsd4_getdevinfo,



More information about the pNFS mailing list