Message ID | 20240407014743.13872-5-mwleeds@mailtundra.com |
---|---|
State | Accepted |
Delegated to: | Tom Rini |
Headers | show |
Series | zfs: Fix zfs support on aarch64 | expand |
diff --git a/fs/zfs/dev.c b/fs/zfs/dev.c index 251e7d1f74..fcd9893b3a 100644 --- a/fs/zfs/dev.c +++ b/fs/zfs/dev.c @@ -19,12 +19,12 @@ static struct disk_partition *part_info; void zfs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info) { zfs_blk_desc = rbdd; part_info = info; } /* err */ int zfs_devread(int sector, int byte_offset, int byte_len, char *buf) { return fs_devread(zfs_blk_desc, part_info, sector, byte_offset, - byte_len, buf); + byte_len, buf) ? 0 : 1; }