Subject: bug #12730: patch attached

From: Andrew Warshall <[email-masked]>
Date: Sun, 4 Nov 2012 11:08:53 -0500

> If we went that route, we'd change how me_dummy is set so that it
> takes account of your case.  For example, we might add a boolean
> "is_bind_mount" parameter to ME_DUMMY macro, so that when me_type is
> "none" and is_bind_mount is true, ME_DUMMY would evaluate to false,
> rather than to true.  The only tricky part would be robustly
> determining whether "bind" is in mnt->mnt_opts.
> 
> Care to write the patch?

I've attached (an attempt at) the suggested patch. It should work on
Linux/glibc, but should be tested on other platforms.

           -Andrew Warshall