From: Anders Dellien <anders.dellien@axis.com>
To: "linux-unionfs@vger.kernel.org" <linux-unionfs@vger.kernel.org>,
"miklos@szeredi.hu" <miklos@szeredi.hu>
Subject: [Help] Problem when using overlayfs with LoadPin
Date: Fri, 8 Nov 2019 08:42:02 +0000 [thread overview]
Message-ID: <1573202522019.97305@axis.com> (raw)
Hi all,
I have previously successfully used LoadPin [https://www.kernel.org/doc/html/latest/admin-guide/LSM/LoadPin.html]
together with overlayfs, however commit a6518f "vfs: don't open real" introduces a regression.
(from loadpin.c):
/* file_dentry sees through overlays */
load_root = file_dentry(file)->d_sb; (here, load_root->s_bdev is NULL and not the actual block device from the lower layer)
Questions:
* Maybe this is expected behavior and I am doing something wrong? Maybe there is some build- or mount option that
could fix the problem?
* If this really is a bug in overlayfs then I would be happy to try to fix it - however as I am not familiar with the code
I would very much appreciate if someone more knowledgeable could point me in the right direction.
Thanks,
Anders
next reply other threads:[~2019-11-08 8:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-08 8:42 Anders Dellien [this message]
2019-11-08 9:02 ` [Help] Problem when using overlayfs with LoadPin Miklos Szeredi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1573202522019.97305@axis.com \
--to=anders.dellien@axis.com \
--cc=linux-unionfs@vger.kernel.org \
--cc=miklos@szeredi.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.