linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] fs/fat/cache.c: make __fat_access static
@ 2005-01-06 22:53 Adrian Bunk
  2005-01-07 21:41 ` OGAWA Hirofumi
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2005-01-06 22:53 UTC (permalink / raw)
  To: hirofumi; +Cc: linux-kernel

The patch below makes a needlessly global function static.


diffstat output:
 fs/fat/cache.c           |    2 +-
 include/linux/msdos_fs.h |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.10-mm2-full/include/linux/msdos_fs.h.old	2005-01-06 23:35:38.000000000 +0100
+++ linux-2.6.10-mm2-full/include/linux/msdos_fs.h	2005-01-06 23:35:44.000000000 +0100
@@ -230,7 +230,6 @@
 
 /* fat/cache.c */
 extern int fat_access(struct super_block *sb, int nr, int new_value);
-extern int __fat_access(struct super_block *sb, int nr, int new_value);
 extern int fat_bmap(struct inode *inode, sector_t sector, sector_t *phys);
 extern void fat_cache_inval_inode(struct inode *inode);
 extern int fat_get_cluster(struct inode *inode, int cluster,
--- linux-2.6.10-mm2-full/fs/fat/cache.c.old	2005-01-06 23:35:59.000000000 +0100
+++ linux-2.6.10-mm2-full/fs/fat/cache.c	2005-01-06 23:36:04.000000000 +0100
@@ -203,7 +203,7 @@
 	spin_unlock(&MSDOS_I(inode)->cache_lru_lock);
 }
 
-int __fat_access(struct super_block *sb, int nr, int new_value)
+static int __fat_access(struct super_block *sb, int nr, int new_value)
 {
 	struct msdos_sb_info *sbi = MSDOS_SB(sb);
 	struct buffer_head *bh, *bh2, *c_bh, *c_bh2;


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [2.6 patch] fs/fat/cache.c: make __fat_access static
  2005-01-06 22:53 [2.6 patch] fs/fat/cache.c: make __fat_access static Adrian Bunk
@ 2005-01-07 21:41 ` OGAWA Hirofumi
  0 siblings, 0 replies; 2+ messages in thread
From: OGAWA Hirofumi @ 2005-01-07 21:41 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: linux-kernel

Adrian Bunk <bunk@stusta.de> writes:

> The patch below makes a needlessly global function static.
>
>
> diffstat output:
>  fs/fat/cache.c           |    2 +-
>  include/linux/msdos_fs.h |    1 -
>  2 files changed, 1 insertion(+), 2 deletions(-)
>
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>

Thanks. applied.
-- 
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-07 21:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-06 22:53 [2.6 patch] fs/fat/cache.c: make __fat_access static Adrian Bunk
2005-01-07 21:41 ` OGAWA Hirofumi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).