RE: [PATCH 10/11] NFSv4.1: Enable open-by-filehandle

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

 



> -----Original Message-----
> From: Adamson, Andy
> Sent: Tuesday, March 19, 2013 1:30 PM
> To: Myklebust, Trond
> Cc: <linux-nfs@xxxxxxxxxxxxxxx>
> Subject: Re: [PATCH 10/11] NFSv4.1: Enable open-by-filehandle
> 
> Hi Trond
> 
> You need to declare the new NFS_OPEN_CLAIMs.
> 
> From: Andy Adamson <andros@xxxxxxxxxx>
> Date: Tue, 19 Mar 2013 13:03:36 -0400
> Subject: [PATCH 17/21] NFSv4.1 declare new NFS4_OPEN_CLAIM * FH
> 
> Signed-off-by: Andy Adamson <andros@xxxxxxxxxx>
> ---
>  include/linux/nfs4.h |    5 ++++-
>  1 files changed, 4 insertions(+), 1 deletions(-)
> 
> diff --git a/include/linux/nfs4.h b/include/linux/nfs4.h index
> 7552bb5..380d944 100644
> --- a/include/linux/nfs4.h
> +++ b/include/linux/nfs4.h
> @@ -388,7 +388,10 @@ enum open_claim_type4 {
>         NFS4_OPEN_CLAIM_NULL = 0,
>         NFS4_OPEN_CLAIM_PREVIOUS = 1,
>         NFS4_OPEN_CLAIM_DELEGATE_CUR = 2,
> -       NFS4_OPEN_CLAIM_DELEGATE_PREV = 3
> +       NFS4_OPEN_CLAIM_DELEGATE_PREV = 3,
> +       NFS4_OPEN_CLAIM_FH = 4,
> +       NFS4_OPEN_CLAIM_DELEG_CUR_FH = 5,
> +       NFS4_OPEN_CLAIM_DELEG_PREV_FH = 6
>  };
> 
>  enum opentype4 {
> 
> -->Andy

See commit 8b289b2c2355c3bea75f3e499b4aa251a3191382 (nfsd4: implement new 4.1 open reclaim types). It was upstreamed in Linux-3.2.

Cheers
  Trond
--
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