[PATCH] fuse: fuse_copy_finish() order fix
commit222f1d69183f10d70a37de5785698fe0aa363c12
authorMiklos Szeredi <miklos@szeredi.hu>
Tue, 17 Jan 2006 06:14:25 +0000 (16 22:14 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 17 Jan 2006 07:15:29 +0000 (16 23:15 -0800)
tree14eeb42423e9feb390a52ce2cf0453c346e92b98
parentf87fd4c2a0c4f3baad28057360b36a59591ef751
[PATCH] fuse: fuse_copy_finish() order fix

fuse_copy_finish() must be called before request_end(), since the later might
sleep, and no sleeping is allowed between fuse_copy_one() and
fuse_copy_finish() because of kmap_atomic()/kunmap_atomic() used in them.

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