@@ -319,7 +319,7 @@ initallfs(char *mtab)
exit(1);
}
- while ((mnt = platform_mntent_next(&cursor)) != NULL) {
+ while ((mnt = mntent_next(&cursor)) != NULL) {
int rw = 0;
if (strcmp(mnt->mnt_type, MNTTYPE_XFS ) != 0 ||
@@ -181,11 +181,16 @@ static inline int platform_mntent_open(struct mntent_cursor * cursor, char *mtab
return mntent_open(cursor, mtab);
}
-static inline struct mntent * platform_mntent_next(struct mntent_cursor * cursor)
+static inline struct mntent * mntent_next(struct mntent_cursor * cursor)
{
return getmntent(cursor->mtabp);
}
+static inline struct mntent * platform_mntent_next(struct mntent_cursor * cursor)
+{
+ return mntent_next(cursor);
+}
+
static inline void platform_mntent_close(struct mntent_cursor * cursor)
{
endmntent(cursor->mtabp);