MS_LAZYTIME is apparently not defined on uClibc-ng. Define that macro
if not defined already. Also fix a copy&paste error which broke
'nolazytime' and 'nostrictatime' mount options.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
char *optstr;
};
+#ifndef MS_LAZYTIME
+#define MS_LAZYTIME (1 << 25)
+#endif
+
static int parseOCImountopts(struct blob_attr *msg, unsigned long *mount_flags, char **mount_data, int *error)
{
struct blob_attr *cur;
mf &= ~MS_STRICTATIME;
else if (!strcmp("lazytime", tmp))
mf |= MS_LAZYTIME;
- else if (!strcmp("nostrictatime", tmp))
+ else if (!strcmp("nolazytime", tmp))
mf &= ~MS_LAZYTIME;
else if (!strcmp("suid", tmp))
mf &= ~MS_NOSUID;