From patchwork Sat May 21 10:32:16 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Boaz Harrosh X-Patchwork-Id: 805622 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p4LAVZkR012073 for ; Sat, 21 May 2011 10:32:28 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753014Ab1EUKc2 (ORCPT ); Sat, 21 May 2011 06:32:28 -0400 Received: from daytona.panasas.com ([67.152.220.89]:19771 "EHLO daytona.panasas.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751434Ab1EUKc1 (ORCPT ); Sat, 21 May 2011 06:32:27 -0400 Received: from fs2.bhalevy.com ([172.17.33.46]) by daytona.panasas.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 21 May 2011 06:32:26 -0400 From: Boaz Harrosh To: Benny Halevy , Trond Myklebust , NFS list Subject: [PATCH 08/13] SQUASHME: pnfs_osd_xdr: Remove Server API declarations Date: Sat, 21 May 2011 13:32:16 +0300 Message-Id: <1305973936-17444-1-git-send-email-bharrosh@panasas.com> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <4DD79273.9030202@panasas.com> References: <4DD79273.9030202@panasas.com> X-OriginalArrivalTime: 21 May 2011 10:32:26.0615 (UTC) FILETIME=[60FBB070:01CC17A2] Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Sat, 21 May 2011 10:32:28 +0000 (UTC) Server API will be added later with it's implementation patch. This also removes the dependency on the exp_xdr_stream header. Signed-off-by: Boaz Harrosh --- include/linux/pnfs_osd_xdr.h | 10 ---------- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git a/include/linux/pnfs_osd_xdr.h b/include/linux/pnfs_osd_xdr.h index e4c2b25..db22471 100644 --- a/include/linux/pnfs_osd_xdr.h +++ b/include/linux/pnfs_osd_xdr.h @@ -41,7 +41,6 @@ #include #include -#include #include #define PNFS_OSD_OSDNAME_MAXSIZE 256 @@ -333,11 +332,6 @@ extern bool pnfs_osd_xdr_decode_layout_comp(struct pnfs_osd_object_cred *comp, struct pnfs_osd_xdr_decode_layout_iter *iter, struct xdr_stream *xdr, int *err); -/* Layout encoding */ -extern int pnfs_osd_xdr_encode_layout( - struct exp_xdr_stream *xdr, - struct pnfs_osd_layout *layout); - /* Device Info helpers */ /* Note: All strings inside @deviceaddr point to space inside @p. @@ -346,10 +340,6 @@ extern int pnfs_osd_xdr_encode_layout( extern void pnfs_osd_xdr_decode_deviceaddr( struct pnfs_osd_deviceaddr *deviceaddr, __be32 *p); -/* For Servers */ -extern int pnfs_osd_xdr_encode_deviceaddr( - struct exp_xdr_stream *xdr, struct pnfs_osd_deviceaddr *devaddr); - /* layoutupdate (layout_commit) xdr helpers */ extern int pnfs_osd_xdr_encode_layoutupdate(struct xdr_stream *xdr,