diff options
author | mwleeds@mailtundra.com <mwleeds@mailtundra.com> | 2024-04-06 18:47:28 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-04-17 10:08:56 -0600 |
commit | 1e85ddb784375a20e80a60d185998c2753757616 (patch) | |
tree | 6c731bfa2287602eccdaf18294c838d3f9af9ab5 /arch/arm/lib/stack.c | |
parent | 1fe745b4b92e532b0789f4fe6da6f829bba91417 (diff) |
zfs: Fix return value of fs_devread()
As evidenced by how other filesystems handle it, a return value of 0
from fs_devread() means failure; nonzero means success. The opposite
assumption was being made in zfs.c for the use of zfs_devread() so fix
the confusion by making zfs_devread() return 0 on success.
It probably doesn't make sense to change the handling of zfs_devread()
in zfs.c instead, because as it is it matches the semantics of the other
functions there.
Signed-off-by: Phaedrus Leeds <mwleeds@mailtundra.com>
Diffstat (limited to 'arch/arm/lib/stack.c')
0 files changed, 0 insertions, 0 deletions