diff options
| author | Jan Kara <[email protected]> | 2009-08-03 18:24:21 +0200 |
|---|---|---|
| committer | Joel Becker <[email protected]> | 2009-08-17 12:50:12 -0700 |
| commit | ada508274b8698a33cb0e5bd037db0f9dc781795 (patch) | |
| tree | 43788f6393117159d75897bb75496c0ddb6c4e1b /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
| parent | b409d7a0ab46fe530efe52734984b4ed5d46c3eb (diff) | |
ocfs2: Handle quota file corruption more gracefully
ocfs2_read_virt_blocks() does BUG when we try to read a block from a file
beyond its end. Since this can happen due to filesystem corruption, it
is not really an appropriate answer. Make ocfs2_read_quota_block() check
the condition and handle it by calling ocfs2_error() and returning EIO.
[ Modified to print ip_blkno in the error - Joel ]
Reported-by: Tristan Ye <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Signed-off-by: Joel Becker <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions