Re: [PATCH 2/2] Btrfs: fix wrong the mount information in /proc
From: Al Viro <viro@ZenIV.linux.org.uk>
Date: 2012-05-31 14:37:57
Also in:
linux-fsdevel
From: Al Viro <viro@ZenIV.linux.org.uk>
Date: 2012-05-31 14:37:57
Also in:
linux-fsdevel
On Thu, May 31, 2012 at 06:25:14PM +0800, Miao Xie wrote:
+#include "../mount.h"
No.
+ struct mount *r = real_mount(mnt);
And even more so. Find a way to do that without layering violations or live with the current behaviour. Both patches NAKed with extreme prejudice. Don't bring them back, you are *not* going to get them in. Any filesystem code that wants to do that kind of thing is seriously out of luck.