All of lore.kernel.org
 help / color / mirror / Atom feed
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Andrew Elble <aweits@rit.edu>
Cc: linux-nfs@vger.kernel.org
Subject: Re: [PATCH] 4.1 server tests: make DELEG8 also check that an operation using a revoked stateid returns revoked status
Date: Thu, 9 Nov 2017 09:13:29 -0500	[thread overview]
Message-ID: <20171109141329.GA8773@fieldses.org> (raw)
In-Reply-To: <20171101120855.65421-1-aweits@rit.edu>

Applied, thanks.--b.

On Wed, Nov 01, 2017 at 08:08:55AM -0400, Andrew Elble wrote:
> Signed-off-by: Andrew Elble <aweits@rit.edu>
> ---
>  nfs4.1/server41tests/st_delegation.py | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/nfs4.1/server41tests/st_delegation.py b/nfs4.1/server41tests/st_delegation.py
> index a5066926a89d..c5959f6cda84 100644
> --- a/nfs4.1/server41tests/st_delegation.py
> +++ b/nfs4.1/server41tests/st_delegation.py
> @@ -186,6 +186,8 @@ def testDelegRevocation(t, env):
>          # depend on the above compound waiting no longer than the
>          # server's lease period:
>          res = sess1.compound([])
> +    res = sess1.compound([op.putfh(fh), op.read(delegstateid, 0, 1000)])
> +    check(res, NFS4ERR_DELEG_REVOKED, "Read with a revoked delegation")
>      slot, seq_op = sess1._prepare_compound({})
>      res = sess1.c.compound([seq_op])
>      flags = res.resarray[0].sr_status_flags;
> -- 
> 2.10.1

      reply	other threads:[~2017-11-09 14:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-01 12:08 [PATCH] 4.1 server tests: make DELEG8 also check that an operation using a revoked stateid returns revoked status Andrew Elble
2017-11-09 14:13 ` 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=20171109141329.GA8773@fieldses.org \
    --to=bfields@fieldses.org \
    --cc=aweits@rit.edu \
    --cc=linux-nfs@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.