All of lore.kernel.org
 help / color / mirror / Atom feed
* [Help] Problem when using overlayfs with LoadPin
@ 2019-11-08  8:42 Anders Dellien
  2019-11-08  9:02 ` Miklos Szeredi
  0 siblings, 1 reply; 2+ messages in thread
From: Anders Dellien @ 2019-11-08  8:42 UTC (permalink / raw)
  To: linux-unionfs@vger.kernel.org, miklos@szeredi.hu

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-08  9:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-08  8:42 [Help] Problem when using overlayfs with LoadPin Anders Dellien
2019-11-08  9:02 ` Miklos Szeredi

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.