From: Adrian Bunk <bunk@stusta.de>
To: Miklos Szeredi <miklos@szeredi.hu>
Cc: linux-kernel@vger.kernel.org
Subject: [-mm patch] fs/fuse/dev.c: make two functions static
Date: Sun, 16 Jan 2005 09:01:51 +0100 [thread overview]
Message-ID: <20050116080151.GC4274@stusta.de> (raw)
The patch below makes two needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.11-rc1-mm1-full/fs/fuse/dev.c.old 2005-01-16 05:56:22.000000000 +0100
+++ linux-2.6.11-rc1-mm1-full/fs/fuse/dev.c 2005-01-16 05:56:35.000000000 +0100
@@ -119,7 +119,7 @@
return intr ? NULL : do_get_request(fc);
}
-void fuse_putback_request(struct fuse_conn *fc, struct fuse_req *req)
+static void fuse_putback_request(struct fuse_conn *fc, struct fuse_req *req)
{
if (!req->preallocated)
fuse_request_free(req);
@@ -293,7 +293,7 @@
request_send_wait(fc, req, 0);
}
-void request_send_nowait(struct fuse_conn *fc, struct fuse_req *req)
+static void request_send_nowait(struct fuse_conn *fc, struct fuse_req *req)
{
spin_lock(&fuse_lock);
if (fc->file) {
next reply other threads:[~2005-01-16 8:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-16 8:01 Adrian Bunk [this message]
2005-01-16 10:55 ` [-mm patch] fs/fuse/dev.c: make two functions static Miklos Szeredi
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=20050116080151.GC4274@stusta.de \
--to=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
--cc=miklos@szeredi.hu \
/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