[Ocfs2-devel] [PATCH 1/1] ocfs2-tools: support strictatime in ocfs2

Tiger Yang tiger.yang at oracle.com
Mon Mar 28 01:37:48 PDT 2011


On 03/27/2011 05:42 AM, Joel Becker wrote:
> diff --git a/mount.ocfs2/opts.c b/mount.ocfs2/opts.c
> index 5ecd36b..96037da 100644
> --- a/mount.ocfs2/opts.c
> +++ b/mount.ocfs2/opts.c
> @@ -78,12 +78,12 @@ static const struct opt_map opt_map[] = {
>     { "mand",	0, 0, MS_MANDLOCK },	/* Allow mandatory locks on this FS */
>     { "nomand",	0, 1, MS_MANDLOCK },	/* Forbid mandatory locks on this FS */
>     { "loop",	1, 0, MS_LOOP	},	/* use a loop device */
> -  { "atime",	0, 1, MS_NOATIME },	/* Update access time */
> 	Won't this break people saying 'mount -o noatime'?
No, It would not affect "-o noatime", actually it just disallowed "-o 
atime".

Thanks,
Tiger



More information about the Ocfs2-devel mailing list