From patchwork Wed Jun 4 21:01:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weston Andros Adamson X-Patchwork-Id: 4297031 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 275139F326 for ; Wed, 4 Jun 2014 21:03:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 673482012E for ; Wed, 4 Jun 2014 21:03:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8484220218 for ; Wed, 4 Jun 2014 21:03:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751965AbaFDVDQ (ORCPT ); Wed, 4 Jun 2014 17:03:16 -0400 Received: from mail-ie0-f176.google.com ([209.85.223.176]:38387 "EHLO mail-ie0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751946AbaFDVCO (ORCPT ); Wed, 4 Jun 2014 17:02:14 -0400 Received: by mail-ie0-f176.google.com with SMTP id rl12so67556iec.7 for ; Wed, 04 Jun 2014 14:02:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Z1+mBglMPDyF72e5gH9PYg9JfJm+osVWXnLpGkvxrkQ=; b=Rjybn3IHvASYlStBEf+KxvGxLAhARoxbAx8sAzAauQNtrS+F1Dx8sB/MlATACT5xN6 zweJ/ltiRNUq42lOMFDScSEPPX52RW1R+b3GmumUGyAGVDMP7D6l7kpmjPTZsyVXJW88 4pMjPfI4LDWIqErNu2QSuAomT8oqc6JLc7vbt7ebdAfrHzI16JUEBaalFHBK41M0WDyQ yCT2tZBKdb+5qk+dNPLZZtU/p/oQgZqzTjY/TIdLOdX9NH+gYj/P0f3HokqGRRABBJlO 92VP+S+Wd74fXslhrR1sK32CpL7fMwZJx047tv1f5KhuznUmlYEszh3uJaTHY+oyW2H5 Z9HA== X-Gm-Message-State: ALoCoQkqp4S00OMFwzkkiTrN9HgoNQbS09VqKO4xaKKe+7NSBYQLUiIVTTnGT5JzEir8ZyuwHGdN X-Received: by 10.50.148.101 with SMTP id tr5mr11275931igb.43.1401915734245; Wed, 04 Jun 2014 14:02:14 -0700 (PDT) Received: from gavrio-wifi.robotsandstuff.fake (c-98-209-19-144.hsd1.mi.comcast.net. [98.209.19.144]) by mx.google.com with ESMTPSA id qh3sm47684584igb.17.2014.06.04.14.02.12 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 04 Jun 2014 14:02:13 -0700 (PDT) From: Weston Andros Adamson To: bfields@fieldses.org Cc: linux-nfs@vger.kernel.org, Weston Andros Adamson Subject: [PATCH pynfs 02/17] 4.1 server: service RECLAIM_COMPLETE operations Date: Wed, 4 Jun 2014 17:01:50 -0400 Message-Id: <1401915726-29092-3-git-send-email-dros@primarydata.com> X-Mailer: git-send-email 1.8.5.2 (Apple Git-48) In-Reply-To: <1401915726-29092-1-git-send-email-dros@primarydata.com> References: <1401915726-29092-1-git-send-email-dros@primarydata.com> Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Just return ok! Signed-off-by: Weston Andros Adamson --- nfs4.1/nfs4server.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nfs4.1/nfs4server.py b/nfs4.1/nfs4server.py index 65fb9af..3607dc0 100755 --- a/nfs4.1/nfs4server.py +++ b/nfs4.1/nfs4server.py @@ -1809,6 +1809,9 @@ class NFS4Server(rpc.Server): with find_state(env, arg.deleg_stateid, allow_0=False) as state: state.delegreturn() return encode_status(NFS4_OK) + + def op_reclaim_complete(self, arg, env): + return encode_status(NFS4_OK) def op_getdevicelist(self, arg, env): # STUB check_session(env)