linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] fs/9p/: make 2 functions static
@ 2006-03-04 12:14 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2006-03-04 12:14 UTC (permalink / raw)
  To: ericvh; +Cc: linux-kernel

This patch makes two needlessly global functions static.


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

---

 fs/9p/vfs_dentry.c |    2 +-
 fs/9p/vfs_inode.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- linux-2.6.16-rc5-mm2-full/fs/9p/vfs_dentry.c.old	2006-03-03 18:05:58.000000000 +0100
+++ linux-2.6.16-rc5-mm2-full/fs/9p/vfs_dentry.c	2006-03-03 18:06:14.000000000 +0100
@@ -51,7 +51,7 @@
  *
  */
 
-int v9fs_dentry_delete(struct dentry *dentry)
+static int v9fs_dentry_delete(struct dentry *dentry)
 {
 	dprintk(DEBUG_VFS, " dentry: %s (%p)\n", dentry->d_iname, dentry);
 	return 1;
--- linux-2.6.16-rc5-mm2-full/fs/9p/vfs_inode.c.old	2006-03-03 18:06:25.000000000 +0100
+++ linux-2.6.16-rc5-mm2-full/fs/9p/vfs_inode.c	2006-03-03 18:06:41.000000000 +0100
@@ -350,7 +350,7 @@
 	return ERR_PTR(err);
 }
 
-struct inode *
+static struct inode *
 v9fs_inode_from_fid(struct v9fs_session_info *v9ses, u32 fid,
 	struct super_block *sb)
 {


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

* [2.6 patch] fs/9p/: make 2 functions static
@ 2006-03-08 12:18 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2006-03-08 12:18 UTC (permalink / raw)
  To: Andrew Morton; +Cc: ericvh, linux-kernel

This patch makes two needlessly global functions static.


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

---

This patch was already sent on:
- 4 Mar 2006

 fs/9p/vfs_dentry.c |    2 +-
 fs/9p/vfs_inode.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- linux-2.6.16-rc5-mm2-full/fs/9p/vfs_dentry.c.old	2006-03-03 18:05:58.000000000 +0100
+++ linux-2.6.16-rc5-mm2-full/fs/9p/vfs_dentry.c	2006-03-03 18:06:14.000000000 +0100
@@ -51,7 +51,7 @@
  *
  */
 
-int v9fs_dentry_delete(struct dentry *dentry)
+static int v9fs_dentry_delete(struct dentry *dentry)
 {
 	dprintk(DEBUG_VFS, " dentry: %s (%p)\n", dentry->d_iname, dentry);
 	return 1;
--- linux-2.6.16-rc5-mm2-full/fs/9p/vfs_inode.c.old	2006-03-03 18:06:25.000000000 +0100
+++ linux-2.6.16-rc5-mm2-full/fs/9p/vfs_inode.c	2006-03-03 18:06:41.000000000 +0100
@@ -350,7 +350,7 @@
 	return ERR_PTR(err);
 }
 
-struct inode *
+static struct inode *
 v9fs_inode_from_fid(struct v9fs_session_info *v9ses, u32 fid,
 	struct super_block *sb)
 {


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

end of thread, other threads:[~2006-03-08 12:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-04 12:14 [2.6 patch] fs/9p/: make 2 functions static Adrian Bunk
2006-03-08 12:18 Adrian Bunk

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).