diff options
author | Andrew Morton <akpm@osdl.org> | 2006-05-15 09:44:30 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-05-15 11:20:57 -0700 |
commit | eee391a66d774e644bf3cbb35403562e09d88bb2 (patch) | |
tree | 1c04e7edb60a5c129c8e118decfea8b5ba5076a3 /lib/string.c | |
parent | be6e028b6422878df2e799a74609a03a553c7dad (diff) | |
download | linux-stable-eee391a66d774e644bf3cbb35403562e09d88bb2.tar.gz linux-stable-eee391a66d774e644bf3cbb35403562e09d88bb2.tar.bz2 linux-stable-eee391a66d774e644bf3cbb35403562e09d88bb2.zip |
[PATCH] revert "vfs: propagate mnt_flags into do_loopback/vfsmount"
Revert commit f6422f17d3a480f21917a3895e2a46b968f56a08, due to
Valdis.Kletnieks@vt.edu wrote:
>
> There seems to have been a bug introduced in this changeset:
>
> Am running 2.6.17-rc3-mm1. When this changeset is applied, 'mount --bind'
> misbehaves:
>
> > # mkdir /foo
> > # mount -t tmpfs -o rw,nosuid,nodev,noexec,noatime,nodiratime none /foo
> > # mkdir /foo/bar
> > # mount --bind /foo/bar /foo
> > # tail -2 /proc/mounts
> > none /foo tmpfs rw,nosuid,nodev,noexec,noatime,nodiratime 0 0
> > none /foo tmpfs rw 0 0
>
> Reverting this changeset causes both mounts to have the same options.
>
> (Thanks to Stephen Smalley for tracking down the changeset...)
>
Cc: Herbert Poetzl <herbert@13thfloor.at>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: <Valdis.Kletnieks@vt.edu>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions