fuse: cleanup in release

Move dput/mntput pair from request_end() to fuse_release_end(), because
there's no other place they are used.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Miklos Szeredi
2007-10-16 23:31:04 -07:00
committed by Linus Torvalds
parent ebc14c4dbe
commit 819c4b3b40
2 changed files with 8 additions and 2 deletions

View File

@ -231,8 +231,6 @@ static void request_end(struct fuse_conn *fc, struct fuse_req *req)
fc->num_background--;
}
spin_unlock(&fc->lock);
dput(req->dentry);
mntput(req->vfsmount);
wake_up(&req->waitq);
if (end)
end(fc, req);