linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: ericvh@gmail.com
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] fs/9p/: make 2 functions static
Date: Sat, 4 Mar 2006 13:14:34 +0100	[thread overview]
Message-ID: <20060304121434.GO9295@stusta.de> (raw)

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


             reply	other threads:[~2006-03-04 12:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-04 12:14 Adrian Bunk [this message]
2006-03-08 12:18 [2.6 patch] fs/9p/: make 2 functions static Adrian Bunk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060304121434.GO9295@stusta.de \
    --to=bunk@stusta.de \
    --cc=ericvh@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).