fs/fuse/dev.c: make two functions static
PATCH 1/1 fs/fuse/dev.c: make two functions static
The patch below makes two needlessly global functions static.
Signed-off-by Adrian Bunk <[email protected]>
fs/fuse/dev.c renamed from fs/fuse/dev.c.old +2 -2
@@ -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) {
Miklos Szeredi
maintainerThanks Adrian,
The patch below makes two needlessly global functions static.
Signed-off-by Adrian Bunk <[email protected]>
Signed-off-by Miklos Szeredi <[email protected]>
fs/fuse/dev.c renamed from fs/fuse/dev.c.old +2 -2
@@ -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) {