Re: [-mm patch] fs/fuse/dev.c: make two functions static
From: Miklos Szeredi
Date: Sun Jan 16 2005 - 06:00:30 EST
Thanks Adrian,
The patch below makes two needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
Signed-off-by: Miklos Szeredi <miklos@xxxxxxxxxx>
--- 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) {
-
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/