diff options
author | Tejun Heo <tj@kernel.org> | 2008-11-26 12:03:54 +0100 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2008-11-26 12:03:54 +0100 |
commit | e9bb09dd6c5b8ec6a971ed6251df5eba3a4c8d3c (patch) | |
tree | 5012a2046330c00f41fd65dc20867b01b80eee5d /fs/fuse/inode.c | |
parent | fuse: move FUSE_MINOR to miscdevice.h (diff) | |
download | linux-e9bb09dd6c5b8ec6a971ed6251df5eba3a4c8d3c.tar.xz linux-e9bb09dd6c5b8ec6a971ed6251df5eba3a4c8d3c.zip |
fuse: don't let fuse_req->end() put the base reference
fuse_req->end() was supposed to be put the base reference but there's
no reason why it should. It only makes things more complex. Move it
out of ->end() and make it the responsibility of request_end().
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/fuse/inode.c')
-rw-r--r-- | fs/fuse/inode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c index 739595b4196f..fa474989ec76 100644 --- a/fs/fuse/inode.c +++ b/fs/fuse/inode.c @@ -760,7 +760,6 @@ static void process_init_reply(struct fuse_conn *fc, struct fuse_req *req) fc->max_write = max_t(unsigned, 4096, fc->max_write); fc->conn_init = 1; } - fuse_put_request(fc, req); fc->blocked = 0; wake_up_all(&fc->blocked_waitq); } |