Clear relatime if noatime is set
authorJamie Cameron <jcameron@webmin.com>
Fri, 2 Apr 2010 04:32:58 +0000 (21:32 -0700)
committerJamie Cameron <jcameron@webmin.com>
Fri, 2 Apr 2010 04:32:58 +0000 (21:32 -0700)
mount/linux-lib.pl

index 2c24885..caf649d 100755 (executable)
@@ -1933,6 +1933,7 @@ if ($_[0] ne "swap" && $_[0] ne "auto" &&
 
        delete($options{"noatime"});
        $options{"noatime"} = "" if ($in{'lnx_noatime'});
+       delete($options{"relatime"}) if ($in{'lnx_noatime'});
        }
 
 if (($_[0] eq "nfs") || ($_[0] eq "nfs4")) {