lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 20 Feb 2007 01:07:34 +0100 From: Adrian Bunk <bunk@...sta.de> To: Andrew Morton <akpm@...ux-foundation.org>, ericvh@...il.com, rminnich@...l.gov, lucho@...kov.net Cc: linux-kernel@...r.kernel.org, v9fs-developer@...ts.sourceforge.net Subject: [-mm patch] fs/9p/vfs_addr.c: make 2 functions static On Sat, Feb 17, 2007 at 09:51:46PM -0800, Andrew Morton wrote: >... > Changes since 2.6.20-mm1: >... > git-v9fs.patch >... > git trees >... This patch makes two needlessly global functions static. Signed-off-by: Adrian Bunk <bunk@...sta.de> --- fs/9p/vfs_addr.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- linux-2.6.20-mm2/fs/9p/vfs_addr.c.old 2007-02-18 22:17:06.000000000 +0100 +++ linux-2.6.20-mm2/fs/9p/vfs_addr.c 2007-02-18 22:25:45.000000000 +0100 @@ -114,8 +114,8 @@ * */ -int v9fs_prepare_write(struct file *file, struct page *page, - unsigned from, unsigned to) +static int v9fs_prepare_write(struct file *file, struct page *page, + unsigned from, unsigned to) { if(!PageUptodate(page)) { if (to - from != PAGE_CACHE_SIZE) { @@ -143,8 +143,8 @@ * TODO: Perhaps I should just do the write here? */ -int v9fs_commit_write(struct file *file, struct page *page, - unsigned offset, unsigned to) +static int v9fs_commit_write(struct file *file, struct page *page, + unsigned offset, unsigned to) { struct inode *inode = page->mapping->host; loff_t pos = ((loff_t)page->index << PAGE_CACHE_SHIFT) + to; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists