From patchwork Wed Jun 4 21:02:04 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: 4296971 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 7341A9F1D6 for ; Wed, 4 Jun 2014 21:03:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A14F820218 for ; Wed, 4 Jun 2014 21:02:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CA703201F7 for ; Wed, 4 Jun 2014 21:02:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752087AbaFDVCp (ORCPT ); Wed, 4 Jun 2014 17:02:45 -0400 Received: from mail-ig0-f180.google.com ([209.85.213.180]:36650 "EHLO mail-ig0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752068AbaFDVCn (ORCPT ); Wed, 4 Jun 2014 17:02:43 -0400 Received: by mail-ig0-f180.google.com with SMTP id c1so1549090igq.13 for ; Wed, 04 Jun 2014 14:02:43 -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=4WU5YXBeyK0LI7TX3OtNMTvmRcv7dEAwVrfPPFz3PPo=; b=Lej4EwCHGU8Wni6QjLnlsdAhC5hDjv1GXm1yrTcxB7dcVtyk/YJYSfkvqZgUrMbLgN DLCUwUY6RCZzXps1T/nCceJKt15kf3+1OnLcOPnnopWRw4xS4+crfFEJ0S0qmp6SpXN+ 40AJCQ4E9Hpxr+YsAoLAzUyW1JHJZV4jszPOFE5Mj5SmRWXl4oet4mMg2QavpDWCjjfx jEekwySNhBAD0DYViR/45pkcbjS7U9ZCT2Em7bw7c802QWHYYBucSzOMlBBzRFmeRHpS zf1UfehRSip36h8RTzmVoKqkkAES+tL56krIQg3DQC4CvQkVvHAJ9rUsNMDUdSdQiqmQ cf7A== X-Gm-Message-State: ALoCoQkgPIhhOClqDDfAY9ZiAHCj9wIx0h6CqhzooOk3PbETs/eLPgLMShsLdu5wmpGYJUV0kIKM X-Received: by 10.50.1.111 with SMTP id 15mr11441500igl.7.1401915763242; Wed, 04 Jun 2014 14:02:43 -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.35 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 04 Jun 2014 14:02:42 -0700 (PDT) From: Weston Andros Adamson To: bfields@fieldses.org Cc: linux-nfs@vger.kernel.org, Weston Andros Adamson Subject: [PATCH pynfs 15/17] nfs41 svr: get rid of old op_getdeviceinfo Date: Wed, 4 Jun 2014 17:02:04 -0400 Message-Id: <1401915726-29092-17-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 This has been commented out for a while. Signed-off-by: Weston Andros Adamson --- nfs4.1/nfs4server.py | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/nfs4.1/nfs4server.py b/nfs4.1/nfs4server.py index 062e3c4..27e2352 100755 --- a/nfs4.1/nfs4server.py +++ b/nfs4.1/nfs4server.py @@ -1870,27 +1870,6 @@ class NFS4Server(rpc.Server): new_cookie >= len(list)) return encode_status(NFS4_OK, res) -# def op_getdeviceinfo(self, arg, env): # STUB -# check_session(env) -# # check_cfh(env) -# # fs = env.cfh.fs -# # STUB - only deals with block volumes -# kind = arg.gdia_layout_type -# if kind != LAYOUT4_BLOCK_VOLUME: -# return encode_status(NFS4ERR_INVAL) -# # STUB - want to pull this from fs, not block module -# d = block.devices.get(arg.gdia_device_id, None) -# if d is None: -# return encode_status(NFS4ERR_INVAL) -# address = device_addr4(LAYOUT4_BLOCK_VOLUME, d.get_addr()) -# # Check that we don't exceed count -# p = nfs4lib.FancyNFS4Packer() -# p.pack_device_addr4(address) -# if len(p.get_buffer()) > arg.gdia_maxcount: -# return encode_status(NFS4ERR_TOOSMALL, gdir_mincount = len(p.get_buffer())) -# res = GETDEVICEINFO4resok(address, 0) -# return encode_status(NFS4_OK, res) - def op_getdeviceinfo(self, arg, env): # STUB # STUB - ignoring notifications check_session(env)