summaryrefslogtreecommitdiffstats
path: root/fs/ufs/truncate.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2007-10-17 08:31:05 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 17:43:04 +0200
commitc9c9d7df5f8aed8b738f1ace45700e2001c1faeb (patch)
tree04b7ef11d49758152c80c010f6a287f83d53299d /fs/ufs/truncate.c
parentfuse: no abort on interrupt (diff)
downloadlinux-c9c9d7df5f8aed8b738f1ace45700e2001c1faeb.tar.xz
linux-c9c9d7df5f8aed8b738f1ace45700e2001c1faeb.zip
fuse: no ENOENT from fuse device read
Don't return -ENOENT for a read() on the fuse device when the request was aborted. Instead return -ENODEV, meaning the filesystem has been force-umounted or aborted. Previously ENOENT meant that the request was interrupted, but now the 'aborted' flag is not set in case of interrupts. 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>
Diffstat (limited to 'fs/ufs/truncate.c')
0 files changed, 0 insertions, 0 deletions