kernel-ark/fs/fuse
Miklos Szeredi 5c5c5e51b2 fuse: update file size on short read
If the READ request returned a short count, then either

  - cached size is incorrect
  - filesystem is buggy, as short reads are only allowed on EOF

So assume that the size is wrong and refresh it, so that cached read() doesn't
zero fill the missing chunk.

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>
2008-04-30 08:29:50 -07:00
..
control.c mm: bdi: expose the BDI object in sysfs for FUSE 2008-04-30 08:29:49 -07:00
dev.c fuse: support writable mmap 2008-04-30 08:29:50 -07:00
dir.c fuse: update file size on short read 2008-04-30 08:29:50 -07:00
file.c fuse: update file size on short read 2008-04-30 08:29:50 -07:00
fuse_i.h fuse: update file size on short read 2008-04-30 08:29:50 -07:00
inode.c fuse: support writable mmap 2008-04-30 08:29:50 -07:00
Makefile [PATCH] fuse: add control filesystem 2006-06-25 10:01:19 -07:00