public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
From: bfields@fieldses.org (J. Bruce Fields)
To: Olga Kornievskaia <olga.kornievskaia@gmail.com>
Cc: bfields@redhat.com, linux-nfs@vger.kernel.org
Subject: Re: [PATCH 1/1] NFSD remove OP_CACHEME from 4.2 op_flags
Date: Fri, 14 Dec 2018 09:45:33 -0500	[thread overview]
Message-ID: <20181214144533.GA8696@fieldses.org> (raw)
In-Reply-To: <20181204190921.61662-1-olga.kornievskaia@gmail.com>

Thanks, applying for 4.21.--b.

On Tue, Dec 04, 2018 at 02:09:21PM -0500, Olga Kornievskaia wrote:
> From: Olga Kornievskaia <kolga@netapp.com>
> 
> OP_CACHEME is only for the 4.0 operations.
> 
> Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
> ---
>  fs/nfsd/nfs4proc.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
> index 238c4b7..60c4650 100644
> --- a/fs/nfsd/nfs4proc.c
> +++ b/fs/nfsd/nfs4proc.c
> @@ -3010,25 +3010,25 @@ static inline u32 nfsd4_seek_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op)
>  	/* NFSv4.2 operations */
>  	[OP_ALLOCATE] = {
>  		.op_func = nfsd4_allocate,
> -		.op_flags = OP_MODIFIES_SOMETHING | OP_CACHEME,
> +		.op_flags = OP_MODIFIES_SOMETHING,
>  		.op_name = "OP_ALLOCATE",
>  		.op_rsize_bop = nfsd4_only_status_rsize,
>  	},
>  	[OP_DEALLOCATE] = {
>  		.op_func = nfsd4_deallocate,
> -		.op_flags = OP_MODIFIES_SOMETHING | OP_CACHEME,
> +		.op_flags = OP_MODIFIES_SOMETHING,
>  		.op_name = "OP_DEALLOCATE",
>  		.op_rsize_bop = nfsd4_only_status_rsize,
>  	},
>  	[OP_CLONE] = {
>  		.op_func = nfsd4_clone,
> -		.op_flags = OP_MODIFIES_SOMETHING | OP_CACHEME,
> +		.op_flags = OP_MODIFIES_SOMETHING,
>  		.op_name = "OP_CLONE",
>  		.op_rsize_bop = nfsd4_only_status_rsize,
>  	},
>  	[OP_COPY] = {
>  		.op_func = nfsd4_copy,
> -		.op_flags = OP_MODIFIES_SOMETHING | OP_CACHEME,
> +		.op_flags = OP_MODIFIES_SOMETHING,
>  		.op_name = "OP_COPY",
>  		.op_rsize_bop = nfsd4_copy_rsize,
>  	},
> -- 
> 1.8.3.1

      reply	other threads:[~2018-12-14 14:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-04 19:09 [PATCH 1/1] NFSD remove OP_CACHEME from 4.2 op_flags Olga Kornievskaia
2018-12-14 14:45 ` J. Bruce Fields [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181214144533.GA8696@fieldses.org \
    --to=bfields@fieldses.org \
    --cc=bfields@redhat.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=olga.kornievskaia@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox