From patchwork Fri Feb 8 16:32:19 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 2116931 Return-Path: X-Original-To: patchwork-ceph-devel@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 03AC3DFE75 for ; Fri, 8 Feb 2013 16:32:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760102Ab3BHQcZ (ORCPT ); Fri, 8 Feb 2013 11:32:25 -0500 Received: from mail-ie0-f172.google.com ([209.85.223.172]:48889 "EHLO mail-ie0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759956Ab3BHQcY (ORCPT ); Fri, 8 Feb 2013 11:32:24 -0500 Received: by mail-ie0-f172.google.com with SMTP id c10so5198096ieb.17 for ; Fri, 08 Feb 2013 08:32:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=9z9No4J/lhl63rwyP8C9ISPMidkP1bX/On1StGKjRm0=; b=nKLZUHyUbiDCubOn70RLAmQKQdik4rRsHXOHPfa30YCa4CiX8u9J6DDq6K5Ic0rzOH /TBaY4wM2MGNUZdfasFU0riaewLr5lrDeNw/RoOV/q3onVJfta6D/YRdnokhev3QRtgQ 1OTf3MeS2n4OtAyS0AxrOEVx6NDaov+dtU/3qw67mxXOkx3o4d2TlfsdjKrrHqhTsFvz Z2jafJbGycRj08nHsE/J9p7XVEro/4CludBHvxoTVxMnDdPHS6Bl+MEClrSwjdS+Znxw bd04FG9Npl73h5iHep+W9KOIzyPAzpnDfjNjzu9zcLKh9c/mebg1g8F5LOYaHPDjCmxD H5NQ== X-Received: by 10.50.1.240 with SMTP id 16mr3449849igp.76.1360341143834; Fri, 08 Feb 2013 08:32:23 -0800 (PST) Received: from [172.22.22.4] (c-71-195-31-37.hsd1.mn.comcast.net. [71.195.31.37]) by mx.google.com with ESMTPS id rd10sm14746715igb.1.2013.02.08.08.32.20 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 08 Feb 2013 08:32:22 -0800 (PST) Message-ID: <51152893.4090108@inktank.com> Date: Fri, 08 Feb 2013 10:32:19 -0600 From: Alex Elder User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: "ceph-devel@vger.kernel.org" Subject: [PATCH 1/5] ceph: remove a few bogus declarations References: <51152847.2030305@inktank.com> In-Reply-To: <51152847.2030305@inktank.com> X-Gm-Message-State: ALoCoQlxbpcNjAUQBcAjG1EpBXpQpWK3noA1CePE4bBT9dK19kCT4Gxvj4paoUgeyL1TYCIpFF/k Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org There are three ceph page vector functions declared in "fs/ceph/super.h" that don't belong there. They're probably left over from some long-ago code reorganization. They're properly declared in "include/linux/ceph/libceph.h" so just delete the ones in "super.h". Signed-off-by: Alex Elder --- fs/ceph/super.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) struct file *file, unsigned flags, umode_t mode, diff --git a/fs/ceph/super.h b/fs/ceph/super.h index 66ebe72..9861cce 100644 --- a/fs/ceph/super.h +++ b/fs/ceph/super.h @@ -798,13 +798,7 @@ extern int ceph_mmap(struct file *file, struct vm_area_struct *vma); /* file.c */ extern const struct file_operations ceph_file_fops; extern const struct address_space_operations ceph_aops; -extern int ceph_copy_to_page_vector(struct page **pages, - const char *data, - loff_t off, size_t len); -extern int ceph_copy_from_page_vector(struct page **pages, - char *data, - loff_t off, size_t len); -extern struct page **ceph_alloc_page_vector(int num_pages, gfp_t flags); + extern int ceph_open(struct inode *inode, struct file *file); extern int ceph_atomic_open(struct inode *dir, struct dentry *dentry,