diff options
author | Bart Van Assche <[email protected]> | 2024-02-02 12:39:20 -0800 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2024-02-06 14:30:47 +0100 |
commit | ec16b147a55bfa14e858234eb7b1a7c8e7cd5021 (patch) | |
tree | a292aa472d2281d1f56d249e91a4e550acaa9758 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6613476e225e090cc9aad49be7fa504e290dd33d (diff) |
fs: Fix rw_hint validation
Reject values that are valid rw_hints after truncation but not before
truncation by passing an untruncated value to rw_hint_valid().
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Kanchan Joshi <[email protected]>
Cc: Jeff Layton <[email protected]>
Cc: Chuck Lever <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Stephen Rothwell <[email protected]>
Fixes: 5657cb0797c4 ("fs/fcntl: use copy_to/from_user() for u64 types")
Signed-off-by: Bart Van Assche <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions