Re: [PATCH] Bind Mount Extensions 0.04 (linux-2.6.4)

From: Andrew Morton
Date: Sun Mar 14 2004 - 23:18:30 EST


Herbert Poetzl <herbert@xxxxxxxxxxxx> wrote:
>
> ; this patch adds some functionality to the --bind
> ; type of vfs mounts.

This won't apply any more. We very recently changed a large number of
filesystems to not call update_atime() from within their readdir functions.
That operation was hoisted up to vfs_readdir().

Also, rather than adding MNT_IS_RDONLY() and having to remember to check
both the inode and the mount all over the kernel it would be better to
change IS_RDONLY() to take two arguments - the inode and the vfsmnt. That
way we won't miss places, and unconverted code simpy won't compile, thus
drawing attention to itself. I don't know if this is feasible, but please
consider it.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/