* [-mm patch] fs/fuse/dev.c: make two functions static
@ 2005-01-16 8:01 Adrian Bunk
2005-01-16 10:55 ` Miklos Szeredi
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2005-01-16 8:01 UTC (permalink / raw)
To: Miklos Szeredi; +Cc: linux-kernel
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) {
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [-mm patch] fs/fuse/dev.c: make two functions static
2005-01-16 8:01 [-mm patch] fs/fuse/dev.c: make two functions static Adrian Bunk
@ 2005-01-16 10:55 ` Miklos Szeredi
0 siblings, 0 replies; 2+ messages in thread
From: Miklos Szeredi @ 2005-01-16 10:55 UTC (permalink / raw)
To: akpm; +Cc: bunk, linux-kernel
Thanks Adrian,
The patch below makes two needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
--- 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) {
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-16 10:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-16 8:01 [-mm patch] fs/fuse/dev.c: make two functions static Adrian Bunk
2005-01-16 10:55 ` Miklos Szeredi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox