mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
libdasd: Move get_host_access_count() to libdasd
Reading DASD specific sysfs attributes should be collected in one library. Move get_host_access_count() to libdasd/dasd_sys. Remove the old implementation and update any user accordingly. Also, fix the build order for zdsfs. Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
@@ -13,9 +13,9 @@
|
||||
#define LIB_DASD_SYS_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include "u2s.h"
|
||||
|
||||
int dasd_sys_raw_track_access(char *);
|
||||
int dasd_reset_chpid(char *, char *);
|
||||
int dasd_get_host_access_count(char *device);
|
||||
|
||||
#endif /* LIB_DASD_SYS_H */
|
||||
|
||||
@@ -15,7 +15,5 @@
|
||||
#define U2S_BUS_ID_SIZE 32
|
||||
|
||||
int u2s_getbusid(char *, char *);
|
||||
int u2s_read_attribute(char *, char *, char *, size_t);
|
||||
int u2s_get_host_access_count(char *);
|
||||
|
||||
#endif /* LIB_U2S_H */
|
||||
|
||||
Reference in New Issue
Block a user