[PATCH 36/38] union-mount: Implement union-aware utimensat()
--- fs/utimes.c | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/fs/utimes.c b/fs/utimes.c index e4c75db..e83b6bd 100644 --- a/fs/utimes.c +++ b/fs/utimes.c @@ -8,8 +8,10 @@ #include <linux/stat.h> #include <linux/utime.h> #include <linux/syscalls.h> +#include <linu... 15 Jun 2010 15:24
[PATCH 31/38] union-mount: Implement union-aware writable open()
Copy up a file when opened with write permissions. Does not copy up the file data when O_TRUNC is specified. --- fs/namei.c | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 6096413..7514096 100644 --- a/fs/namei.c +++ b/fs/name... 15 Jun 2010 15:24
[PATCH 32/38] union-mount: Implement union-aware chown()
--- fs/open.c | 23 ++++++++++++++++++++--- 1 files changed, 20 insertions(+), 3 deletions(-) diff --git a/fs/open.c b/fs/open.c index 7f7958e..68c97dd 100644 --- a/fs/open.c +++ b/fs/open.c @@ -718,18 +718,35 @@ static int chown_common(struct path *path, uid_t user, gid_t group) SYSCALL_DEFINE3(chown, co... 15 Jun 2010 15:24
[PATCH 33/38] union-mount: Implement union-aware truncate()
--- fs/open.c | 24 ++++++++++++++++++++---- 1 files changed, 20 insertions(+), 4 deletions(-) diff --git a/fs/open.c b/fs/open.c index 68c97dd..3c1ae55 100644 --- a/fs/open.c +++ b/fs/open.c @@ -230,14 +230,17 @@ int do_truncate(struct dentry *dentry, loff_t length, unsigned int time_attrs, static long d... 15 Jun 2010 15:24
[PATCH 23/38] union-mount: Call do_whiteout() on unlink and rmdir in unions
From: Jan Blunck <jblunck(a)suse.de> Call do_whiteout() when removing files and directories from a union mounted file system. Signed-off-by: Valerie Aurora <vaurora(a)redhat.com> --- fs/namei.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 45be5e... 15 Jun 2010 15:24
[PATCH 07/38] whiteout: Set S_OPAQUE inode flag when creating directories
From: Jan Blunck <jblunck(a)suse.de> In case of an union directory we don't want that the directories on lower layers of the union "show through". So to prevent that the contents of underlying directories magically shows up after a mkdir() we set the S_OPAQUE flag if directories are created where a whiteout existed... 15 Jun 2010 15:23
[PATCH 13/38] fallthru: Basic fallthru definitions
Define the fallthru dcache flag and file system op. Mask out the DCACHE_FALLTHRU flag on dentry creation. Actual users and changes to lookup come in later patches. Signed-off-by: Valerie Aurora <vaurora(a)redhat.com> --- Documentation/filesystems/vfs.txt | 6 ++++++ fs/dcache.c | 2 ... 15 Jun 2010 15:23
[PATCH 28/38] union-mount: Implement union-aware access()/faccessat()
For union mounts, a file located on the lower layer will incorrectly return EROFS on an access check. To fix this, use the new path_permission() call, which ignores a read-only lower layer file system if the target will be copied up to the topmost file system. --- fs/open.c | 21 +++++++++++++++++---- 1 files... 15 Jun 2010 15:23
[PATCH 18/38] union-mount: Introduce MNT_UNION and MS_UNION flags
From: Jan Blunck <jblunck(a)suse.de> Add per mountpoint flag for Union Mount support. You need additional patches to util-linux for that to work - see: git://git.kernel.org/pub/scm/utils/util-linux-ng/val/util-linux-ng.git Signed-off-by: Jan Blunck <jblunck(a)suse.de> Signed-off-by: Valerie Aurora <vaurora(a)redha... 15 Jun 2010 15:23
[PATCH 35/38] union-mount: Implement union-aware lchown()
--- fs/open.c | 23 ++++++++++++++++++++--- 1 files changed, 20 insertions(+), 3 deletions(-) diff --git a/fs/open.c b/fs/open.c index 336fe01..b021dcb 100644 --- a/fs/open.c +++ b/fs/open.c @@ -812,18 +812,35 @@ out: SYSCALL_DEFINE3(lchown, const char __user *, filename, uid_t, user, gid_t, group) { ... 15 Jun 2010 15:23