Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Aufs5 Standalone
Commits
8aef1cb3
Commit
8aef1cb3
authored
Feb 29, 2020
by
J. R. Okajima
Browse files
5.x-rcN 20200302
Signed-off-by:
J. R. Okajima
<
hooanon05g@gmail.com
>
parent
d2e5551f
Changes
3
Hide whitespace changes
Inline
Side-by-side
aufs5-base.patch
View file @
8aef1cb3
...
@@ -2,7 +2,7 @@ SPDX-License-Identifier: GPL-2.0
...
@@ -2,7 +2,7 @@ SPDX-License-Identifier: GPL-2.0
aufs5.x-rcN base patch
aufs5.x-rcN base patch
diff --git a/MAINTAINERS b/MAINTAINERS
diff --git a/MAINTAINERS b/MAINTAINERS
index
a0d86490c2c6..c2f67b975ce3
100644
index
fcd79fc38928..9751b7b48696
100644
--- a/MAINTAINERS
--- a/MAINTAINERS
+++ b/MAINTAINERS
+++ b/MAINTAINERS
@@ -2919,6 +2919,19 @@
F: include/linux/audit.h
@@ -2919,6 +2919,19 @@
F: include/linux/audit.h
...
...
aufs5-mmap.patch
View file @
8aef1cb3
...
@@ -164,7 +164,7 @@ index 1784478270e1..fb03735cd00e 100644
...
@@ -164,7 +164,7 @@ index 1784478270e1..fb03735cd00e 100644
if (page->mapping != inode->i_mapping) {
if (page->mapping != inode->i_mapping) {
unlock_page(page);
unlock_page(page);
diff --git a/mm/mmap.c b/mm/mmap.c
diff --git a/mm/mmap.c b/mm/mmap.c
index
6756b8bb0033..aaf773f405ff
100644
index
d681a20eb4ea..36c80ae89cee
100644
--- a/mm/mmap.c
--- a/mm/mmap.c
+++ b/mm/mmap.c
+++ b/mm/mmap.c
@@ -176,7 +176,7 @@
static struct vm_area_struct *remove_vma(struct vm_area_struct *vma)
@@ -176,7 +176,7 @@
static struct vm_area_struct *remove_vma(struct vm_area_struct *vma)
...
@@ -176,7 +176,7 @@ index 6756b8bb0033..aaf773f405ff 100644
...
@@ -176,7 +176,7 @@ index 6756b8bb0033..aaf773f405ff 100644
mpol_put(vma_policy(vma));
mpol_put(vma_policy(vma));
vm_area_free(vma);
vm_area_free(vma);
return next;
return next;
@@ -90
9
,7 +90
9
,7 @@
int __vma_adjust(struct vm_area_struct *vma, unsigned long start,
@@ -90
7
,7 +90
7
,7 @@
int __vma_adjust(struct vm_area_struct *vma, unsigned long start,
if (remove_next) {
if (remove_next) {
if (file) {
if (file) {
uprobe_munmap(next, next->vm_start, next->vm_end);
uprobe_munmap(next, next->vm_start, next->vm_end);
...
@@ -185,7 +185,7 @@ index 6756b8bb0033..aaf773f405ff 100644
...
@@ -185,7 +185,7 @@ index 6756b8bb0033..aaf773f405ff 100644
}
}
if (next->anon_vma)
if (next->anon_vma)
anon_vma_merge(vma, next);
anon_vma_merge(vma, next);
@@ -18
33
,8 +18
33
,8 @@
unsigned long mmap_region(struct file *file, unsigned long addr,
@@ -18
29
,8 +18
29
,8 @@
unsigned long mmap_region(struct file *file, unsigned long addr,
return addr;
return addr;
unmap_and_free_vma:
unmap_and_free_vma:
...
@@ -195,7 +195,7 @@ index 6756b8bb0033..aaf773f405ff 100644
...
@@ -195,7 +195,7 @@ index 6756b8bb0033..aaf773f405ff 100644
/* Undo any partial mapping done by a device driver. */
/* Undo any partial mapping done by a device driver. */
unmap_region(mm, vma, prev, vma->vm_start, vma->vm_end);
unmap_region(mm, vma, prev, vma->vm_start, vma->vm_end);
@@ -26
63
,7 +26
63
,7 @@
int __split_vma(struct mm_struct *mm, struct vm_area_struct *vma,
@@ -26
59
,7 +26
59
,7 @@
int __split_vma(struct mm_struct *mm, struct vm_area_struct *vma,
goto out_free_mpol;
goto out_free_mpol;
if (new->vm_file)
if (new->vm_file)
...
@@ -204,7 +204,7 @@ index 6756b8bb0033..aaf773f405ff 100644
...
@@ -204,7 +204,7 @@ index 6756b8bb0033..aaf773f405ff 100644
if (new->vm_ops && new->vm_ops->open)
if (new->vm_ops && new->vm_ops->open)
new->vm_ops->open(new);
new->vm_ops->open(new);
@@ -268
2
,7 +268
2
,7 @@
int __split_vma(struct mm_struct *mm, struct vm_area_struct *vma,
@@ -26
7
8,7 +26
7
8,7 @@
int __split_vma(struct mm_struct *mm, struct vm_area_struct *vma,
if (new->vm_ops && new->vm_ops->close)
if (new->vm_ops && new->vm_ops->close)
new->vm_ops->close(new);
new->vm_ops->close(new);
if (new->vm_file)
if (new->vm_file)
...
@@ -213,7 +213,7 @@ index 6756b8bb0033..aaf773f405ff 100644
...
@@ -213,7 +213,7 @@ index 6756b8bb0033..aaf773f405ff 100644
unlink_anon_vmas(new);
unlink_anon_vmas(new);
out_free_mpol:
out_free_mpol:
mpol_put(vma_policy(new));
mpol_put(vma_policy(new));
@@ -287
4
,7 +287
4
,7 @@
SYSCALL_DEFINE5(remap_file_pages, unsigned long, start, unsigned long, size,
@@ -287
0
,7 +287
0
,7 @@
SYSCALL_DEFINE5(remap_file_pages, unsigned long, start, unsigned long, size,
struct vm_area_struct *vma;
struct vm_area_struct *vma;
unsigned long populate = 0;
unsigned long populate = 0;
unsigned long ret = -EINVAL;
unsigned long ret = -EINVAL;
...
@@ -222,7 +222,7 @@ index 6756b8bb0033..aaf773f405ff 100644
...
@@ -222,7 +222,7 @@ index 6756b8bb0033..aaf773f405ff 100644
pr_warn_once("%s (%d) uses deprecated remap_file_pages() syscall. See Documentation/vm/remap_file_pages.rst.\n",
pr_warn_once("%s (%d) uses deprecated remap_file_pages() syscall. See Documentation/vm/remap_file_pages.rst.\n",
current->comm, current->pid);
current->comm, current->pid);
@@ -294
9
,10 +294
9
,27 @@
SYSCALL_DEFINE5(remap_file_pages, unsigned long, start, unsigned long, size,
@@ -294
5
,10 +294
5
,27 @@
SYSCALL_DEFINE5(remap_file_pages, unsigned long, start, unsigned long, size,
}
}
}
}
...
@@ -251,7 +251,7 @@ index 6756b8bb0033..aaf773f405ff 100644
...
@@ -251,7 +251,7 @@ index 6756b8bb0033..aaf773f405ff 100644
out:
out:
up_write(&mm->mmap_sem);
up_write(&mm->mmap_sem);
if (populate)
if (populate)
@@ -32
4
3,7 +326
0
,7 @@
struct vm_area_struct *copy_vma(struct vm_area_struct **vmap,
@@ -323
9
,7 +32
5
6,7 @@
struct vm_area_struct *copy_vma(struct vm_area_struct **vmap,
if (anon_vma_clone(new_vma, vma))
if (anon_vma_clone(new_vma, vma))
goto out_free_mempol;
goto out_free_mempol;
if (new_vma->vm_file)
if (new_vma->vm_file)
...
...
include/uapi/linux/aufs_type.h
View file @
8aef1cb3
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
#include <limits.h>
#include <limits.h>
#endif
/* __KERNEL__ */
#endif
/* __KERNEL__ */
#define AUFS_VERSION "5.x-rcN-20200
224
"
#define AUFS_VERSION "5.x-rcN-20200
302
"
/* todo? move this to linux-2.6.19/include/magic.h */
/* todo? move this to linux-2.6.19/include/magic.h */
#define AUFS_SUPER_MAGIC ('a' << 24 | 'u' << 16 | 'f' << 8 | 's')
#define AUFS_SUPER_MAGIC ('a' << 24 | 'u' << 16 | 'f' << 8 | 's')
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment