diff options
| author | Ira Weiny <[email protected]> | 2021-05-25 17:24:28 +0000 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2021-07-08 05:10:04 +0000 |
| commit | b05d4c576b697b9f462b9c532c997171d5c3b067 (patch) | |
| tree | 78caf3c0f16a323d5aca440d72d20e1917be6514 /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | fs/dax: Clarify nr_pages to dax_direct_access() (diff) | |
| download | kernel-b05d4c576b697b9f462b9c532c997171d5c3b067.tar.gz kernel-b05d4c576b697b9f462b9c532c997171d5c3b067.zip | |
dax: Ensure errno is returned from dax_direct_access
If the caller specifies a negative nr_pages that is an invalid
parameter.
Return -EINVAL to ensure callers get an errno if they want to check it.
Reviewed-by: Dan Williams <[email protected]>
Signed-off-by: Ira Weiny <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions
