[PATCH] fuse: fix request_end()
authorMiklos Szeredi <miklos@szeredi.hu>
Tue, 17 Jan 2006 06:14:26 +0000 (22:14 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 17 Jan 2006 07:15:29 +0000 (23:15 -0800)
commitf43b155a5a8a95b06bc0b4474fbb7311c7e9709a
tree482a03476b71498939adb9aa7ec1a4c072902927
parent222f1d69183f10d70a37de5785698fe0aa363c12
[PATCH] fuse: fix request_end()

This function used the request object after decrementing its reference count
and releasing the lock.  This could in theory lead to all sorts of problems.

Fix and simplify at the same time.

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/fuse/dev.c