aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/util.c
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2004-06-19 22:42:38 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2004-06-19 22:42:38 +0000
commit7eafccef7f5788e54efa5318d9f5af13a0cbd291 (patch)
tree0b813ada0adf19ae9971f15c347de85b34a69de6 /kernel/util.c
parent152f29edc452f36210c1a8e0e0d648ac08fbf1bc (diff)
downloadlibfuse-7eafccef7f5788e54efa5318d9f5af13a0cbd291.tar.gz
pre-allocate request structures
Diffstat (limited to 'kernel/util.c')
-rw-r--r--kernel/util.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/kernel/util.c b/kernel/util.c
index faffb08..3e7b6ef 100644
--- a/kernel/util.c
+++ b/kernel/util.c
@@ -19,14 +19,6 @@ MODULE_LICENSE("GPL");
spinlock_t fuse_lock = SPIN_LOCK_UNLOCKED;
-/* Must be called with the fuse lock held */
-void fuse_release_conn(struct fuse_conn *fc)
-{
- if (fc->sb == NULL && fc->file == NULL) {
- kfree(fc);
- }
-}
-
int __init fuse_init(void)
{
int res;