Skip to content

Merge Issue 312: added missing kernel mount options

This patch adds the following mount options: 'nostrictatime', 'lazytime', and 'nolazytime'.

The MS_STRICTATIME mount flag already existed, and 'nostrictatime' was listed along with 'strictatime' in the comments of parser/mount.cc, so this patch adds a mapping for 'nostrictatime' to clear MS_STRICTATIME.

Additionally, the Linux kernel includes the 'lazytime' option with MS_LAZYTIME mapping to (1<<25), so this patch adds MS_LAZYTIME to parser/mount.h and the corresponding mappings in parser/mount.cc for 'lazytime' and 'nolazytime'.

MR: !1005 (merged) Approved-by: John Johansen john@jjmx.net Merged-by: John Johansen john@jjmx.net (cherry picked from commit c37be61d) Signed-off-by: Jon Tourville jon.tourville@canonical.com

Merge request reports

Loading