Searched hist:"5 c5c5e51b26413d50a9efae2ca7d6c5c6cd453ac" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/fs/fuse/ |
H A D | fuse_i.h | diff 5c5c5e51b26413d50a9efae2ca7d6c5c6cd453ac Wed Apr 30 02:54:43 CDT 2008 Miklos Szeredi <mszeredi@suse.cz> 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>
|
H A D | dir.c | diff 5c5c5e51b26413d50a9efae2ca7d6c5c6cd453ac Wed Apr 30 02:54:43 CDT 2008 Miklos Szeredi <mszeredi@suse.cz> 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>
|
H A D | file.c | diff 5c5c5e51b26413d50a9efae2ca7d6c5c6cd453ac Wed Apr 30 02:54:43 CDT 2008 Miklos Szeredi <mszeredi@suse.cz> 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>
|