diff options
author | Miklos Szeredi <[email protected]> | 2007-11-28 16:21:59 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2007-11-29 09:24:54 -0800 |
commit | bcb4be809d2a804ff040d95db4a664113833e702 (patch) | |
tree | 11a3aad0dc7df29906e2b379d13f14ccf26c9b56 /fs/jbd2/commit.c | |
parent | b6fd6ecb830444636bc4e9d626f214082c91fffe (diff) |
fuse: fix reading past EOF
Currently reading a fuse file will stop at cached i_size and return
EOF, even though the file might have grown since the attributes were
last updated.
So detect if trying to read past EOF, and refresh the attributes
before continuing with the read.
Thanks to mpb for the report.
Signed-off-by: Miklos Szeredi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions