From 7eafccef7f5788e54efa5318d9f5af13a0cbd291 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Sat, 19 Jun 2004 22:42:38 +0000 Subject: pre-allocate request structures --- kernel/util.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'kernel/util.c') 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; -- cgit v1.2.3