mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
4e6d43e2ac
The functions are refactored so the `struct zg_fh` value is now passed as argument to the `nt_*` functions instead of accessing the global variable `g.fh` from within of the functions. This makes the functions reusable and easier to test. While at it, improve the documentation of `nt_read`. Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
5.8 KiB
5.8 KiB