[2.6 patch] fs/9p/: make 2 functions static

From: Adrian Bunk
Date: Sat Mar 04 2006 - 07:15:17 EST


This patch makes two needlessly global functions static.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/