Re: [PATCH 00/74] Union mounts version something or other

From: David Howells
Date: Thu Apr 21 2011 - 09:09:47 EST


Valerie Aurora <valerie.aurora@xxxxxxxxx> wrote:

> That's never up to date, but I just fixed it. The branch you want is
> "ext2_cleanup". Any branch with "+" at the front is a mistake from
> trying to do a git push of a rebased branch. I deleted it.

Okay, I've got that pulled up to Linus's head branch. I've mostly got the RCU
pathwalk and managed dentry stuff correctly entangled.

However, I have a few questions:

(1) Is it meant to be possible to unionmount over a mount tree rather than
just a single mount? I ask because do_lookup_union() calls
__follow_mount().

(2) When you open a file that exists in the lower layer but not the top
layer, am I right in thinking that f_path points to the lower layer file?

(3) If I'm correct in (2), I presume something must intercept fchown() and
suchlike?

(4) I presume IS_DIR_UNIONED() only gives true on the upper layer (the one
that was mounted -o union)?

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/