> The appened patch is extracted out of David's pre-patch.
>
_Please_ don't do this:
> +#ifdef CONFIG_EXT2_NOATIME
> + if (!IS_RDONLY(inode) && !test_opt(sb,NO_ATIME)) {
> +#else
> if (!IS_RDONLY(inode)) {
> +#endif
Being able to match braces is good for you. Typical Unix editors don't
understand C preprocessor statements.
Better:
> - if (!IS_RDONLY(inode)) {
> +#ifdef CONFIG_EXT2_NOATIME
> + if (!IS_RDONLY(inode) && !test_opt(sb,NO_ATIME))
> +#else
> + if (!IS_RDONLY(inode))
> +#endif
> + {
-- Matthias Urlichs noris network GmbH