From patchwork Wed Jun 4 21:02:03 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: 4296911 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 B4B009F1D6 for ; Wed, 4 Jun 2014 21:02:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F186A201F7 for ; Wed, 4 Jun 2014 21:02:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 25F1120142 for ; Wed, 4 Jun 2014 21:02:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752005AbaFDVCh (ORCPT ); Wed, 4 Jun 2014 17:02:37 -0400 Received: from mail-ie0-f180.google.com ([209.85.223.180]:33879 "EHLO mail-ie0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752074AbaFDVCg (ORCPT ); Wed, 4 Jun 2014 17:02:36 -0400 Received: by mail-ie0-f180.google.com with SMTP id tp5so66395ieb.39 for ; Wed, 04 Jun 2014 14:02:35 -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=H/VezrwXiT5Qy/2sFPu4xj6LYm1Fg1AcousajqHG9fU=; b=ZYAhVlCWnr1G1nKISJzX6TF9XfWxAEoSpzV9R/ZFBijeka2zR3E6Y/r86NcL74aO/s rZDx8WihRch9vJSLvd5XXf32jNIhw8oi3zRDJ2gJs+xGyl/wpxs+qNBhgK4IFY4Yd8dX EpwEH2wPXAwGhgVNkw7bw6e+BuiUhV0joqRTULwjcmzS/yjHtlxjflXIqotYoFFaFqbv zrSsL5QVv2P8X2kHwgYZQgFqTCDQjjJXIgKSww/0l8cLV9MsRr+y7EDE/Zzz0oyvc5PA 0TZtrQ4PleRYSk/NMV9dM2awlGi0L7DzFO8sXRNPWp1emmweCGEm4A5s+B5143HczFrU MN8w== X-Gm-Message-State: ALoCoQkqk9MZemEWxqLk+omGk/ha4GDYLfebXdcIPxkB7iAsdbzf4VkS8dxs0tugFsLN2+oFoYSI X-Received: by 10.50.57.37 with SMTP id f5mr7207211igq.3.1401915755874; Wed, 04 Jun 2014 14:02:35 -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.34 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 04 Jun 2014 14:02:35 -0700 (PDT) From: Weston Andros Adamson To: bfields@fieldses.org Cc: linux-nfs@vger.kernel.org, Weston Andros Adamson Subject: [PATCH pynfs 15/17] 4.1 server: get rid of old op_getdeviceinfo Date: Wed, 4 Jun 2014 17:02:03 -0400 Message-Id: <1401915726-29092-16-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 088e8c4..594e9d5 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)