]> err.no Git - linux-2.6/commit
fuse: no abort on interrupt
authorMiklos Szeredi <mszeredi@suse.cz>
Wed, 17 Oct 2007 06:31:04 +0000 (23:31 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:43:04 +0000 (08:43 -0700)
commita131de0a482ac95e6469f56981c7b063593fdc5d
tree0799985119f15525cc8c3c93a4cacad307405a5a
parent819c4b3b4009275caae973691378235c177a1429
fuse: no abort on interrupt

Don't set 'aborted' flag on a request if it's interrupted.  We have to wait
for the answer anyway, and this would only a very little time while copying
the reply.

This means, that write() on the fuse device will not return -ENOENT during
normal operation, only if the filesystem is aborted by a forced umount or
through the fusectl interface.

This could simplify userspace code somewhat when backward compatibility with
earlier kernel versions is not required.

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>
fs/fuse/dev.c