linux-unionfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* overlayfs: overlapping upperdir path
@ 2021-04-01 13:37 Miklos Szeredi
  2021-04-01 14:30 ` Amir Goldstein
  0 siblings, 1 reply; 4+ messages in thread
From: Miklos Szeredi @ 2021-04-01 13:37 UTC (permalink / raw)
  To: Amir Goldstein; +Cc: linux-fsdevel, overlayfs, Vivek Goyal

Commit 146d62e5a586 ("ovl: detect overlapping layers") made sure we
don't have overapping layers, but it also broke the arguably valid use
case of

 mount -olowerdir=/,upperdir=/subdir,..

where subdir also resides on the root fs.

I also see that we check for a trap at lookup time, so the question is
what does the up-front layer check buy us?

Thanks,
Miklos

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

end of thread, other threads:[~2021-04-01 18:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-01 13:37 overlayfs: overlapping upperdir path Miklos Szeredi
2021-04-01 14:30 ` Amir Goldstein
2021-04-01 15:09   ` Miklos Szeredi
2021-04-01 15:19     ` Amir Goldstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).