From patchwork Sat May 11 02:42:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benny Halevy X-Patchwork-Id: 2552931 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id E6033DF2A2 for ; Sat, 11 May 2013 02:42:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756782Ab3EKCmt (ORCPT ); Fri, 10 May 2013 22:42:49 -0400 Received: from mail-we0-f176.google.com ([74.125.82.176]:55703 "EHLO mail-we0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754337Ab3EKCms (ORCPT ); Fri, 10 May 2013 22:42:48 -0400 Received: by mail-we0-f176.google.com with SMTP id p60so4656008wes.35 for ; Fri, 10 May 2013 19:42:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:subject:date:message-id:x-mailer :in-reply-to:references; bh=VYQM5rYayRsVvAq62M+xSHOApOnGgyax29BPKZrcvHU=; b=M0oOmmV1qHObAUNHe3m3Ty/6UPDy83HJPa4gneHmRlHw9xCZTG0NRS19h1VKtG6lHN 3s0FkuMfdAkbJ4TxJxnl8HrGL3Hd2/g5pJpQDywSqR4gjEqhOK9ZPc5cGFCQjOvwpz8y RNZoBO4xr2Md4TUIOQkaOoF548GhbADzTm0/2OimFZKqTle0zb1/pkf/2cEB0wh6OC29 Lcx9zmqwJVMQfAiSt8wBhWscATh70EIZYX6+ASeZcS65KxIO3RIkqcZyOYj3Mpk7IRdW AwK+oKY5Cb5Sln17mp4tWLHJOMNh7k5I9tlfENdhvt8OSJl36AQz3OXwPjH7BCacn03t YnlQ== X-Received: by 10.180.210.207 with SMTP id mw15mr7231122wic.10.1368240167668; Fri, 10 May 2013 19:42:47 -0700 (PDT) Received: from bhalevy-lt.il.tonian.com (bzq-79-180-144-28.red.bezeqint.net. [79.180.144.28]) by mx.google.com with ESMTPSA id dj7sm1198432wib.6.2013.05.10.19.42.46 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 10 May 2013 19:42:47 -0700 (PDT) From: Benny Halevy To: linux-nfs@vger.kernel.org Subject: [PATCH 04/38] pnfsd-lexp: remove get_state Date: Sat, 11 May 2013 05:42:42 +0300 Message-Id: <1368240162-31872-1-git-send-email-bhalevy@tonian.com> X-Mailer: git-send-email 1.7.11.7 In-Reply-To: <518B6377.3000207@tonian.com> References: <518B6377.3000207@tonian.com> Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Signed-off-by: Benny Halevy --- fs/nfsd/pnfsd_lexp.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/fs/nfsd/pnfsd_lexp.c b/fs/nfsd/pnfsd_lexp.c index bcdb80f..5d448c2 100644 --- a/fs/nfsd/pnfsd_lexp.c +++ b/fs/nfsd/pnfsd_lexp.c @@ -223,12 +223,6 @@ static int get_stripe_unit(int blocksize) return 0; } -static int pnfsd_lexp_get_state(struct inode *inode, struct knfsd_fh *fh, - struct pnfs_get_state *p) -{ - return 0; /* just use the current stateid */ -} - static struct pnfs_export_operations pnfsd_lexp_ops = { .layout_type = pnfsd_lexp_layout_type, .get_device_info = pnfsd_lexp_get_device_info, @@ -236,7 +230,6 @@ static int pnfsd_lexp_get_state(struct inode *inode, struct knfsd_fh *fh, .layout_get = pnfsd_lexp_layout_get, .layout_commit = pnfsd_lexp_layout_commit, .layout_return = pnfsd_lexp_layout_return, - .get_state = pnfsd_lexp_get_state, }; void