Re: [patch] statfs does not detect -t nullfs -o union as a union mount

2013-02-27 Thread Konstantin Belousov
On Wed, Feb 27, 2013 at 10:31:42PM +0100, Jilles Tjoelker wrote: > While testing recent changes to opendir(), I noticed that fstatfs() does > not return the MNT_UNION flag for a -t nullfs -o union mount. As a > result, opendir()/readdir() return files that exist in both top and > bottom directories

[patch] statfs does not detect -t nullfs -o union as a union mount

2013-02-27 Thread Jilles Tjoelker
While testing recent changes to opendir(), I noticed that fstatfs() does not return the MNT_UNION flag for a -t nullfs -o union mount. As a result, opendir()/readdir() return files that exist in both top and bottom directories twice (at least . and ..). Other -o union mounts and -t unionfs mounts w