diff options
author | OGAWA Hirofumi <[email protected]> | 2018-08-21 21:59:44 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2018-08-22 10:52:50 -0700 |
commit | 0afa9626667c3659ef8bd82d42a11e39fedf235c (patch) | |
tree | 9b5c96147d7eb18dc6d6b148e2f02c76b8ef9053 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f663b5b38fffeb31841f8bfaf0ef87a445b0ffee (diff) |
fat: validate ->i_start before using
On corrupted FATfs may have invalid ->i_start. To handle it, this checks
->i_start before using, and return proper error code.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: OGAWA Hirofumi <[email protected]>
Reported-by: Anatoly Trosinenko <[email protected]>
Tested-by: Anatoly Trosinenko <[email protected]>
Cc: Alan Cox <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions