Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759691AbXIIU0n (ORCPT ); Sun, 9 Sep 2007 16:26:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758954AbXIIUZF (ORCPT ); Sun, 9 Sep 2007 16:25:05 -0400 Received: from emailhub.stusta.mhn.de ([141.84.69.5]:60721 "EHLO mailhub.stusta.mhn.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1759465AbXIIUZD (ORCPT ); Sun, 9 Sep 2007 16:25:03 -0400 Date: Sun, 9 Sep 2007 22:25:09 +0200 From: Adrian Bunk To: Andrew Morton , trond.myklebust@fys.uio.no Cc: linux-kernel@vger.kernel.org Subject: [-mm patch] make nfs_wb_page_priority() static Message-ID: <20070909202509.GP3563@stusta.de> References: <20070831215822.26e1432b.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20070831215822.26e1432b.akpm@linux-foundation.org> User-Agent: Mutt/1.5.16 (2007-06-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1757 Lines: 52 On Fri, Aug 31, 2007 at 09:58:22PM -0700, Andrew Morton wrote: >... > Changes since 2.6.23-rc3-mm1: >... > git-nfs.patch >... > git trees >... nfs_wb_page_priority() can now become static. Signed-off-by: Adrian Bunk --- fs/nfs/write.c | 3 ++- include/linux/nfs_fs.h | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) 30370f47093c3d812929d84a5a6be79ccb55a2b3 diff --git a/fs/nfs/write.c b/fs/nfs/write.c index 3e9e268..37953fd 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c @@ -1424,7 +1424,8 @@ out: return ret; } -int nfs_wb_page_priority(struct inode *inode, struct page *page, int how) +static int nfs_wb_page_priority(struct inode *inode, struct page *page, + int how) { loff_t range_start = page_offset(page); loff_t range_end = range_start + (loff_t)(PAGE_CACHE_SIZE - 1); diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index f5414fc..e247a40 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h @@ -430,7 +430,6 @@ extern long nfs_sync_mapping_wait(struct address_space *, struct writeback_contr extern int nfs_wb_all(struct inode *inode); extern int nfs_wb_nocommit(struct inode *inode); extern int nfs_wb_page(struct inode *inode, struct page* page); -extern int nfs_wb_page_priority(struct inode *inode, struct page* page, int how); extern int nfs_wb_page_cancel(struct inode *inode, struct page* page); #if defined(CONFIG_NFS_V3) || defined(CONFIG_NFS_V4) extern int nfs_commit_inode(struct inode *, int); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/