RFC union mounts: In-kernel copyup v1
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | VFS: Split inode_permission() and create path_permission()fs/ include/ | +79 | 0 replies | |
| 2/4 | VFS: create user_path_and_parent()fs/ include/ | +35 | 0 replies | |
| 3/4 | union-mount: In-kernel copyup routinesfs/ include/ | +174 | 0 replies | |
| 4/4 | union-mount: Implement chown()fs/ | +27 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/4] union mounts: In-kernel copyup v1
Well, not really v1, but gotta start numbering somewhere. :)
This is a proof of concept implementation of in-kernel copyup for union mounts. It implements copy up of files on chown(), which is in some ways harder than rename() or link() because it doesn't lookup the parent separately.
The idea behind this version is to keep the <mnt,dentry> pair of the parent directory of the chown() target around in case we need to copy it up. If we do need to copy up, we already have the path of the directory for the topmost file system, instead of having to look it up again.
Valerie Aurora (4):
VFS: Split inode_permission() and create path_permission()
VFS: create user_path_and_parent()
union-mount: In-kernel copyup routines
union-mount: Implement chown()
fs/namei.c | 125 +++++++++++++++++++++++++++++++---- fs/open.c | 33 ++++++++-- fs/union.c | 172 +++++++++++++++++++++++++++++++++++++++++++++++++ include/linux/fs.h | 1 + include/linux/namei.h | 2 + include/linux/union.h | 2 + 6 files changed, 315 insertions(+), 20 deletions(-)