]> git.pld-linux.org Git - packages/kernel.git/commitdiff
aufs patch is automatically generated; update it
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 4 Sep 2023 18:29:47 +0000 (20:29 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 4 Sep 2023 18:29:47 +0000 (20:29 +0200)
kernel-aufs.patch
update-source.sh

index 66996d702514600614604004ef9a1815b3cde270..7c6e49fd47e7ace5750f22fe2e13cc77b271973c 100644 (file)
@@ -1,8 +1,8 @@
 SPDX-License-Identifier: GPL-2.0
-aufs6.x-rcN kbuild patch
+aufs6.5 kbuild patch
 
 diff --git a/fs/Kconfig b/fs/Kconfig
-index cc07a0cd3172..5ee4f1be48ff 100644
+index 18d034ec7953..3159bcb16918 100644
 --- a/fs/Kconfig
 +++ b/fs/Kconfig
 @@ -316,6 +316,7 @@ source "fs/sysv/Kconfig"
@@ -14,22 +14,22 @@ index cc07a0cd3172..5ee4f1be48ff 100644
  endif # MISC_FILESYSTEMS
  
 diff --git a/fs/Makefile b/fs/Makefile
-index 834f1c3dba46..b5c97dd026cd 100644
+index e513aaee0603..acdea5771285 100644
 --- a/fs/Makefile
 +++ b/fs/Makefile
-@@ -137,3 +137,4 @@ obj-$(CONFIG_EFIVAR_FS)            += efivarfs/
+@@ -129,3 +129,4 @@ obj-$(CONFIG_EFIVAR_FS)            += efivarfs/
  obj-$(CONFIG_EROFS_FS)                += erofs/
  obj-$(CONFIG_VBOXSF_FS)               += vboxsf/
  obj-$(CONFIG_ZONEFS_FS)               += zonefs/
 +obj-$(CONFIG_AUFS_FS)           += aufs/
 SPDX-License-Identifier: GPL-2.0
-aufs6.x-rcN base patch
+aufs6.5 base patch
 
 diff --git a/MAINTAINERS b/MAINTAINERS
-index e0ad886d3163..a27659e1886b 100644
+index 4cc6bf79fdd8..5578e44ad7e2 100644
 --- a/MAINTAINERS
 +++ b/MAINTAINERS
-@@ -3380,6 +3380,19 @@ F:      include/uapi/linux/audit.h
+@@ -3310,6 +3310,19 @@ F:      include/uapi/linux/audit.h
  F:    kernel/audit*
  F:    lib/*audit.c
  
@@ -50,7 +50,7 @@ index e0ad886d3163..a27659e1886b 100644
  M:    Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  R:    Dave Ertman <david.m.ertman@intel.com>
 diff --git a/drivers/block/loop.c b/drivers/block/loop.c
-index bc31bb7072a2..131294601819 100644
+index 637c5bda2387..cbefd23beb44 100644
 --- a/drivers/block/loop.c
 +++ b/drivers/block/loop.c
 @@ -645,6 +645,24 @@ static int loop_change_fd(struct loop_device *lo, struct block_device *bdev,
@@ -114,10 +114,10 @@ index b622be119706..9ea58b7bb580 100644
                return error;
  
 diff --git a/fs/namespace.c b/fs/namespace.c
-index 54847db5b819..ebb7b4b057ea 100644
+index e157efc54023..6c57487f126b 100644
 --- a/fs/namespace.c
 +++ b/fs/namespace.c
-@@ -849,6 +849,12 @@ static inline int check_mnt(struct mount *mnt)
+@@ -872,6 +872,12 @@ static inline int check_mnt(struct mount *mnt)
        return mnt->mnt_ns == current->nsproxy->mnt_ns;
  }
  
@@ -131,10 +131,10 @@ index 54847db5b819..ebb7b4b057ea 100644
   * vfsmount lock must be held for write
   */
 diff --git a/fs/splice.c b/fs/splice.c
-index 3e06611d19ae..97a66df75d4c 100644
+index 3e2a31e1ce6a..a724fe9ccb80 100644
 --- a/fs/splice.c
 +++ b/fs/splice.c
-@@ -865,8 +865,8 @@ static int warn_unsupported(struct file *file, const char *op)
+@@ -928,8 +928,8 @@ static int warn_unsupported(struct file *file, const char *op)
  /*
   * Attempt to initiate a splice from pipe to file.
   */
@@ -146,10 +146,10 @@ index 3e06611d19ae..97a66df75d4c 100644
        if (unlikely(!out->f_op->splice_write))
                return warn_unsupported(out, "write");
 diff --git a/include/linux/fs.h b/include/linux/fs.h
-index 21a981680856..1e3054e5367d 100644
+index 562f2623c9c9..5a2db7b8eca5 100644
 --- a/include/linux/fs.h
 +++ b/include/linux/fs.h
-@@ -1066,6 +1066,7 @@ extern void fasync_free(struct fasync_struct *);
+@@ -1068,6 +1068,7 @@ extern void fasync_free(struct fasync_struct *);
  /* can be called from interrupts */
  extern void kill_fasync(struct fasync_struct **, int, int);
  
@@ -157,7 +157,7 @@ index 21a981680856..1e3054e5367d 100644
  extern void __f_setown(struct file *filp, struct pid *, enum pid_type, int force);
  extern int f_setown(struct file *filp, unsigned long arg, int force);
  extern void f_delown(struct file *filp);
-@@ -1793,6 +1794,7 @@ struct file_operations {
+@@ -1794,6 +1795,7 @@ struct file_operations {
        int (*lock) (struct file *, int, struct file_lock *);
        unsigned long (*get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long);
        int (*check_flags)(int);
@@ -166,7 +166,7 @@ index 21a981680856..1e3054e5367d 100644
        ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int);
        ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int);
 diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h
-index b32256e9e944..16bd7230f44b 100644
+index 310f85903c91..46ff52c1a522 100644
 --- a/include/linux/lockdep.h
 +++ b/include/linux/lockdep.h
 @@ -249,6 +249,8 @@ static inline int lockdep_match_key(struct lockdep_map *lock,
@@ -199,19 +199,22 @@ index 8f882f5881e8..6b9808f09843 100644
  extern const struct file_operations proc_mountinfo_operations;
  extern const struct file_operations proc_mountstats_operations;
 diff --git a/include/linux/splice.h b/include/linux/splice.h
-index a55179fd60fc..8e21c53cf883 100644
+index 6c461573434d..7416cf375ad1 100644
 --- a/include/linux/splice.h
 +++ b/include/linux/splice.h
-@@ -93,4 +93,7 @@ extern void splice_shrink_spd(struct splice_pipe_desc *);
+@@ -99,4 +99,10 @@ extern void splice_shrink_spd(struct splice_pipe_desc *);
  
  extern const struct pipe_buf_operations page_cache_pipe_buf_ops;
  extern const struct pipe_buf_operations default_pipe_buf_ops;
 +
 +extern long do_splice_from(struct pipe_inode_info *pipe, struct file *out,
 +                         loff_t *ppos, size_t len, unsigned int flags);
++extern long do_splice_to(struct file *in, loff_t *ppos,
++                       struct pipe_inode_info *pipe, size_t len,
++                       unsigned int flags);
  #endif
 diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c
-index dcd1d5bfc1e0..85d1f7e0bc07 100644
+index 111607d91489..22af30abc781 100644
 --- a/kernel/locking/lockdep.c
 +++ b/kernel/locking/lockdep.c
 @@ -218,7 +218,7 @@ unsigned long max_lock_class_idx;
@@ -232,10 +235,10 @@ index dcd1d5bfc1e0..85d1f7e0bc07 100644
  #ifdef CONFIG_LOCK_STAT
  static DEFINE_PER_CPU(struct lock_class_stats[MAX_LOCKDEP_KEYS], cpu_lock_stats);
 SPDX-License-Identifier: GPL-2.0
-aufs6.x-rcN mmap patch
+aufs6.5 mmap patch
 
 diff --git a/fs/proc/base.c b/fs/proc/base.c
-index 05452c3b9872..6b92a8430130 100644
+index 9df3f4839662..102a56aebeef 100644
 --- a/fs/proc/base.c
 +++ b/fs/proc/base.c
 @@ -2218,7 +2218,7 @@ static int map_files_get_link(struct dentry *dentry, struct path *path)
@@ -264,7 +267,7 @@ index 4d3493579458..42edd9a42c78 100644
                ino = inode->i_ino;
        }
 diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c
-index 420510f6a545..edfc0941806a 100644
+index fafff1bd34cd..4387f43addcd 100644
 --- a/fs/proc/task_mmu.c
 +++ b/fs/proc/task_mmu.c
 @@ -285,7 +285,10 @@ show_map_vma(struct seq_file *m, struct vm_area_struct *vma)
@@ -279,7 +282,7 @@ index 420510f6a545..edfc0941806a 100644
                dev = inode->i_sb->s_dev;
                ino = inode->i_ino;
                pgoff = ((loff_t)vma->vm_pgoff) << PAGE_SHIFT;
-@@ -1943,7 +1946,7 @@ static int show_numa_map(struct seq_file *m, void *v)
+@@ -1950,7 +1953,7 @@ static int show_numa_map(struct seq_file *m, void *v)
        struct proc_maps_private *proc_priv = &numa_priv->proc_maps;
        struct vm_area_struct *vma = v;
        struct numa_maps *md = &numa_priv->md;
@@ -289,7 +292,7 @@ index 420510f6a545..edfc0941806a 100644
        struct mempolicy *pol;
        char buffer[64];
 diff --git a/fs/proc/task_nommu.c b/fs/proc/task_nommu.c
-index 0ec35072a8e5..f0f0a03eb2b5 100644
+index 2c8b62265981..9f65138246a8 100644
 --- a/fs/proc/task_nommu.c
 +++ b/fs/proc/task_nommu.c
 @@ -150,7 +150,10 @@ static int nommu_vma_show(struct seq_file *m, struct vm_area_struct *vma)
@@ -305,12 +308,12 @@ index 0ec35072a8e5..f0f0a03eb2b5 100644
                ino = inode->i_ino;
                pgoff = (loff_t)vma->vm_pgoff << PAGE_SHIFT;
 diff --git a/include/linux/mm.h b/include/linux/mm.h
-index 27ce77080c79..5f07b972242d 100644
+index 34f9dba17c1a..0f01f02a3112 100644
 --- a/include/linux/mm.h
 +++ b/include/linux/mm.h
-@@ -2353,6 +2353,43 @@ static inline void unmap_shared_mapping_range(struct address_space *mapping,
-       unmap_mapping_range(mapping, holebegin, holelen, 0);
- }
+@@ -2387,6 +2387,43 @@ static inline void unmap_shared_mapping_range(struct address_space *mapping,
+ static inline struct vm_area_struct *vma_lookup(struct mm_struct *mm,
+                                               unsigned long addr);
  
 +#if 1 /* IS_ENABLED(CONFIG_AUFS_FS) */
 +extern void vma_do_file_update_time(struct vm_area_struct *, const char[], int);
@@ -349,11 +352,11 @@ index 27ce77080c79..5f07b972242d 100644
 +
 +#endif /* CONFIG_AUFS_FS */
 +
static inline struct vm_area_struct *vma_lookup(struct mm_struct *mm,
-                                               unsigned long addr);
extern int access_process_vm(struct task_struct *tsk, unsigned long addr,
+               void *buf, int len, unsigned int gup_flags);
+ extern int access_remote_vm(struct mm_struct *mm, unsigned long addr,
 diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h
-index 306a3d1a0fa6..56374f0eb825 100644
+index 7d30dc4ff0ff..5a712268b2d7 100644
 --- a/include/linux/mm_types.h
 +++ b/include/linux/mm_types.h
 @@ -449,6 +449,9 @@ struct vm_region {
@@ -366,7 +369,7 @@ index 306a3d1a0fa6..56374f0eb825 100644
  
        int             vm_usage;       /* region usage count (access under nommu_region_sem) */
        bool            vm_icache_flushed : 1; /* true if the icache has been flushed for
-@@ -548,6 +551,9 @@ struct vm_area_struct {
+@@ -562,6 +565,9 @@ struct vm_area_struct {
        unsigned long vm_pgoff;         /* Offset (within vm_file) in PAGE_SIZE
                                           units */
        struct file * vm_file;          /* File we map to (can be NULL). */
@@ -377,10 +380,10 @@ index 306a3d1a0fa6..56374f0eb825 100644
  
  #ifdef CONFIG_ANON_VMA_NAME
 diff --git a/kernel/fork.c b/kernel/fork.c
-index ed4e01daccaa..e945a1639283 100644
+index d2e12b6d2b18..39da83472c1d 100644
 --- a/kernel/fork.c
 +++ b/kernel/fork.c
-@@ -733,7 +733,7 @@ static __latent_entropy int dup_mmap(struct mm_struct *mm,
+@@ -731,7 +731,7 @@ static __latent_entropy int dup_mmap(struct mm_struct *mm,
                if (file) {
                        struct address_space *mapping = file->f_mapping;
  
@@ -390,19 +393,19 @@ index ed4e01daccaa..e945a1639283 100644
                        if (tmp->vm_flags & VM_SHARED)
                                mapping_allow_writable(mapping);
 diff --git a/mm/Makefile b/mm/Makefile
-index e29afc890cde..c467601299d4 100644
+index 678530a07326..ce3cbfef4a61 100644
 --- a/mm/Makefile
 +++ b/mm/Makefile
-@@ -137,3 +137,4 @@ obj-$(CONFIG_IO_MAPPING) += io-mapping.o
+@@ -139,3 +139,4 @@ obj-$(CONFIG_IO_MAPPING) += io-mapping.o
  obj-$(CONFIG_HAVE_BOOTMEM_INFO_NODE) += bootmem_info.o
  obj-$(CONFIG_GENERIC_IOREMAP) += ioremap.o
  obj-$(CONFIG_SHRINKER_DEBUG) += shrinker_debug.o
 +obj-y += prfile.o
 diff --git a/mm/filemap.c b/mm/filemap.c
-index b4c9bd368b7e..ec4f4e5c1a92 100644
+index 9e44a49bbd74..334425b2903b 100644
 --- a/mm/filemap.c
 +++ b/mm/filemap.c
-@@ -3564,7 +3564,7 @@ vm_fault_t filemap_page_mkwrite(struct vm_fault *vmf)
+@@ -3580,7 +3580,7 @@ vm_fault_t filemap_page_mkwrite(struct vm_fault *vmf)
        vm_fault_t ret = VM_FAULT_LOCKED;
  
        sb_start_pagefault(mapping->host->i_sb);
@@ -412,7 +415,7 @@ index b4c9bd368b7e..ec4f4e5c1a92 100644
        if (folio->mapping != mapping) {
                folio_unlock(folio);
 diff --git a/mm/mmap.c b/mm/mmap.c
-index 13678edaa22c..3b5dd8a8d627 100644
+index 3937479d0e07..db30d8a8cea3 100644
 --- a/mm/mmap.c
 +++ b/mm/mmap.c
 @@ -140,7 +140,7 @@ static void remove_vma(struct vm_area_struct *vma, bool unreachable)
@@ -424,7 +427,7 @@ index 13678edaa22c..3b5dd8a8d627 100644
        mpol_put(vma_policy(vma));
        if (unreachable)
                __vm_area_free(vma);
-@@ -607,7 +607,7 @@ static inline void vma_complete(struct vma_prepare *vp,
+@@ -575,7 +575,7 @@ static inline void vma_complete(struct vma_prepare *vp,
                if (vp->file) {
                        uprobe_munmap(vp->remove, vp->remove->vm_start,
                                      vp->remove->vm_end);
@@ -433,7 +436,7 @@ index 13678edaa22c..3b5dd8a8d627 100644
                }
                if (vp->remove->anon_vma)
                        anon_vma_merge(vp->vma, vp->remove);
-@@ -2269,7 +2269,7 @@ int __split_vma(struct vma_iterator *vmi, struct vm_area_struct *vma,
+@@ -2365,7 +2365,7 @@ int __split_vma(struct vma_iterator *vmi, struct vm_area_struct *vma,
                goto out_free_mpol;
  
        if (new->vm_file)
@@ -442,7 +445,7 @@ index 13678edaa22c..3b5dd8a8d627 100644
  
        if (new->vm_ops && new->vm_ops->open)
                new->vm_ops->open(new);
-@@ -2679,7 +2679,7 @@ unsigned long mmap_region(struct file *file, unsigned long addr,
+@@ -2778,7 +2778,7 @@ unsigned long mmap_region(struct file *file, unsigned long addr,
                                 * and cause general protection fault
                                 * ultimately.
                                 */
@@ -451,7 +454,7 @@ index 13678edaa22c..3b5dd8a8d627 100644
                                vm_area_free(vma);
                                vma = merge;
                                /* Update vm_flags to pick up the change. */
-@@ -2774,7 +2774,7 @@ unsigned long mmap_region(struct file *file, unsigned long addr,
+@@ -2875,7 +2875,7 @@ unsigned long mmap_region(struct file *file, unsigned long addr,
  
        if (file || vma->vm_file) {
  unmap_and_free_vma:
@@ -460,7 +463,7 @@ index 13678edaa22c..3b5dd8a8d627 100644
                vma->vm_file = NULL;
  
                /* Undo any partial mapping done by a device driver. */
-@@ -2843,6 +2843,9 @@ SYSCALL_DEFINE5(remap_file_pages, unsigned long, start, unsigned long, size,
+@@ -2936,6 +2936,9 @@ SYSCALL_DEFINE5(remap_file_pages, unsigned long, start, unsigned long, size,
        unsigned long populate = 0;
        unsigned long ret = -EINVAL;
        struct file *file;
@@ -470,7 +473,7 @@ index 13678edaa22c..3b5dd8a8d627 100644
  
        pr_warn_once("%s (%d) uses deprecated remap_file_pages() syscall. See Documentation/mm/remap_file_pages.rst.\n",
                     current->comm, current->pid);
-@@ -2901,10 +2904,34 @@ SYSCALL_DEFINE5(remap_file_pages, unsigned long, start, unsigned long, size,
+@@ -2994,10 +2997,34 @@ SYSCALL_DEFINE5(remap_file_pages, unsigned long, start, unsigned long, size,
        if (vma->vm_flags & VM_LOCKED)
                flags |= MAP_LOCKED;
  
@@ -505,7 +508,7 @@ index 13678edaa22c..3b5dd8a8d627 100644
  out:
        mmap_write_unlock(mm);
        if (populate)
-@@ -3250,7 +3277,7 @@ struct vm_area_struct *copy_vma(struct vm_area_struct **vmap,
+@@ -3342,7 +3369,7 @@ struct vm_area_struct *copy_vma(struct vm_area_struct **vmap,
                if (anon_vma_clone(new_vma, vma))
                        goto out_free_mempol;
                if (new_vma->vm_file)
@@ -514,7 +517,7 @@ index 13678edaa22c..3b5dd8a8d627 100644
                if (new_vma->vm_ops && new_vma->vm_ops->open)
                        new_vma->vm_ops->open(new_vma);
                vma_start_write(new_vma);
-@@ -3266,7 +3293,7 @@ struct vm_area_struct *copy_vma(struct vm_area_struct **vmap,
+@@ -3358,7 +3385,7 @@ struct vm_area_struct *copy_vma(struct vm_area_struct **vmap,
                new_vma->vm_ops->close(new_vma);
  
        if (new_vma->vm_file)
@@ -524,7 +527,7 @@ index 13678edaa22c..3b5dd8a8d627 100644
        unlink_anon_vmas(new_vma);
  out_free_mempol:
 diff --git a/mm/nommu.c b/mm/nommu.c
-index f670d9979a26..94d41bc45915 100644
+index c072a660ec2c..62e67267f79d 100644
 --- a/mm/nommu.c
 +++ b/mm/nommu.c
 @@ -523,7 +523,7 @@ static void __put_nommu_region(struct vm_region *region)
@@ -545,7 +548,7 @@ index f670d9979a26..94d41bc45915 100644
        put_nommu_region(vma->vm_region);
        vm_area_free(vma);
  }
-@@ -1124,7 +1124,7 @@ unsigned long do_mmap(struct file *file,
+@@ -1137,7 +1137,7 @@ unsigned long do_mmap(struct file *file,
                                        goto error_just_free;
                                }
                        }
@@ -554,7 +557,7 @@ index f670d9979a26..94d41bc45915 100644
                        kmem_cache_free(vm_region_jar, region);
                        region = pregion;
                        result = start;
-@@ -1206,10 +1206,10 @@ unsigned long do_mmap(struct file *file,
+@@ -1219,10 +1219,10 @@ unsigned long do_mmap(struct file *file,
  error:
        vma_iter_free(&vmi);
        if (region->vm_file)
@@ -660,7 +663,7 @@ index 000000000000..8f820a235364
 +}
 +#endif /* !CONFIG_MMU */
 SPDX-License-Identifier: GPL-2.0
-aufs6.x-rcN standalone patch
+aufs6.5 standalone patch
 
 diff --git a/fs/dcache.c b/fs/dcache.c
 index 519321f32f95..267e0c65914a 100644
@@ -683,7 +686,7 @@ index 519321f32f95..267e0c65914a 100644
  /**
   * d_ancestor - search for an ancestor
 diff --git a/fs/exec.c b/fs/exec.c
-index a466e797c8e2..c60353b5214f 100644
+index 1a827d55ba94..d7b12f1e7af2 100644
 --- a/fs/exec.c
 +++ b/fs/exec.c
 @@ -112,6 +112,7 @@ bool path_noexec(const struct path *path)
@@ -707,10 +710,10 @@ index 9ea58b7bb580..99fef189bcd6 100644
  static void f_modown(struct file *filp, struct pid *pid, enum pid_type type,
                       int force)
 diff --git a/fs/file_table.c b/fs/file_table.c
-index 372653b92617..69128fe39b6d 100644
+index fc7d677ff5ad..a2fbedb58c0a 100644
 --- a/fs/file_table.c
 +++ b/fs/file_table.c
-@@ -199,6 +199,7 @@ struct file *alloc_empty_file(int flags, const struct cred *cred)
+@@ -225,6 +225,7 @@ struct file *alloc_empty_file(int flags, const struct cred *cred)
        }
        return ERR_PTR(-ENFILE);
  }
@@ -719,10 +722,10 @@ index 372653b92617..69128fe39b6d 100644
  /*
   * Variant of alloc_empty_file() that doesn't check and modify nr_files.
 diff --git a/fs/namespace.c b/fs/namespace.c
-index ebb7b4b057ea..6ee47677de2f 100644
+index 6c57487f126b..16be9ac1c734 100644
 --- a/fs/namespace.c
 +++ b/fs/namespace.c
-@@ -457,6 +457,7 @@ void __mnt_drop_write(struct vfsmount *mnt)
+@@ -466,6 +466,7 @@ void __mnt_drop_write(struct vfsmount *mnt)
        mnt_dec_writers(real_mount(mnt));
        preempt_enable();
  }
@@ -730,7 +733,7 @@ index ebb7b4b057ea..6ee47677de2f 100644
  
  /**
   * mnt_drop_write - give up write access to a mount
-@@ -854,6 +855,7 @@ int is_current_mnt_ns(struct vfsmount *mnt)
+@@ -877,6 +878,7 @@ int is_current_mnt_ns(struct vfsmount *mnt)
  {
        return check_mnt(real_mount(mnt));
  }
@@ -738,7 +741,7 @@ index ebb7b4b057ea..6ee47677de2f 100644
  
  /*
   * vfsmount lock must be held for write
-@@ -2062,6 +2064,7 @@ int iterate_mounts(int (*f)(struct vfsmount *, void *), void *arg,
+@@ -2152,6 +2154,7 @@ int iterate_mounts(int (*f)(struct vfsmount *, void *), void *arg,
        }
        return 0;
  }
@@ -759,7 +762,7 @@ index 1de6631a3925..3008eb37a18d 100644
  /*
   * Drop a reference to a group.  Free it if it's through.
 diff --git a/fs/open.c b/fs/open.c
-index 4478adcc4f3a..5a984ff90580 100644
+index e6ead0f19964..1f4deda436ec 100644
 --- a/fs/open.c
 +++ b/fs/open.c
 @@ -67,6 +67,7 @@ int do_truncate(struct mnt_idmap *idmap, struct dentry *dentry,
@@ -771,7 +774,7 @@ index 4478adcc4f3a..5a984ff90580 100644
  long vfs_truncate(const struct path *path, loff_t length)
  {
 diff --git a/fs/read_write.c b/fs/read_write.c
-index a21ba3be7dbe..ec40061176b3 100644
+index b07de77ef126..e07fadb4afe2 100644
 --- a/fs/read_write.c
 +++ b/fs/read_write.c
 @@ -477,6 +477,7 @@ ssize_t vfs_read(struct file *file, char __user *buf, size_t count, loff_t *pos)
@@ -791,10 +794,10 @@ index a21ba3be7dbe..ec40061176b3 100644
  /* file_ppos returns &file->f_pos or NULL if file is stream */
  static inline loff_t *file_ppos(struct file *file)
 diff --git a/fs/splice.c b/fs/splice.c
-index 97a66df75d4c..19c8d35f5ebd 100644
+index a724fe9ccb80..ebb2c4ceb598 100644
 --- a/fs/splice.c
 +++ b/fs/splice.c
-@@ -872,6 +872,7 @@ long do_splice_from(struct pipe_inode_info *pipe, struct file *out,
+@@ -935,6 +935,7 @@ long do_splice_from(struct pipe_inode_info *pipe, struct file *out,
                return warn_unsupported(out, "write");
        return out->f_op->splice_write(pipe, out, ppos, len, flags);
  }
@@ -803,7 +806,7 @@ index 97a66df75d4c..19c8d35f5ebd 100644
  /*
   * Indicate to the caller that there was a premature EOF when reading from the
 diff --git a/fs/xattr.c b/fs/xattr.c
-index fcf67d80d7f9..174dfb9285fb 100644
+index e7bbb7f57557..edb0190da4d5 100644
 --- a/fs/xattr.c
 +++ b/fs/xattr.c
 @@ -406,6 +406,7 @@ vfs_getxattr_alloc(struct mnt_idmap *idmap, struct dentry *dentry,
@@ -815,7 +818,7 @@ index fcf67d80d7f9..174dfb9285fb 100644
  ssize_t
  __vfs_getxattr(struct dentry *dentry, struct inode *inode, const char *name,
 diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c
-index 85d1f7e0bc07..5e20504eed24 100644
+index 22af30abc781..eaf4e02bcb4d 100644
 --- a/kernel/locking/lockdep.c
 +++ b/kernel/locking/lockdep.c
 @@ -239,6 +239,7 @@ inline struct lock_class *lockdep_hlock_class(struct held_lock *hlock)
@@ -836,7 +839,7 @@ index 065e1ef8fc8d..c623c6f0c645 100644
  }
 +EXPORT_SYMBOL_GPL(task_work_run);
 diff --git a/security/security.c b/security/security.c
-index d5ff7ff45b77..5cca1f5774ef 100644
+index b720424ca37d..635ee0582e05 100644
 --- a/security/security.c
 +++ b/security/security.c
 @@ -1711,6 +1711,7 @@ int security_path_rmdir(const struct path *dir, struct dentry *dentry)
@@ -2407,7 +2410,7 @@ diff -urN /usr/share/empty/Documentation/filesystems/aufs/design/10dynop.txt lin
 +regular files only.
 diff -urN /usr/share/empty/Documentation/filesystems/aufs/README linux/Documentation/filesystems/aufs/README
 --- /usr/share/empty/Documentation/filesystems/aufs/README     1970-01-01 01:00:00.000000000 +0100
-+++ linux/Documentation/filesystems/aufs/README        2023-08-28 12:34:41.669969465 +0200
++++ linux/Documentation/filesystems/aufs/README        2023-09-02 12:00:06.376642958 +0200
 @@ -0,0 +1,409 @@
 +
 +Aufs6 -- advanced multi layered unification filesystem version 6.x
@@ -4317,7 +4320,7 @@ diff -urN /usr/share/empty/fs/aufs/branch.c linux/fs/aufs/branch.c
 +}
 diff -urN /usr/share/empty/fs/aufs/branch.h linux/fs/aufs/branch.h
 --- /usr/share/empty/fs/aufs/branch.h  1970-01-01 01:00:00.000000000 +0100
-+++ linux/fs/aufs/branch.h     2023-08-28 12:34:39.956636132 +0200
++++ linux/fs/aufs/branch.h     2023-09-03 02:21:58.856637674 +0200
 @@ -0,0 +1,375 @@
 +/* SPDX-License-Identifier: GPL-2.0 */
 +/*
@@ -4740,7 +4743,7 @@ diff -urN /usr/share/empty/fs/aufs/conf.mk linux/fs/aufs/conf.mk
 +-include ${srctree}/${src}/conf_priv.mk
 diff -urN /usr/share/empty/fs/aufs/cpup.c linux/fs/aufs/cpup.c
 --- /usr/share/empty/fs/aufs/cpup.c    1970-01-01 01:00:00.000000000 +0100
-+++ linux/fs/aufs/cpup.c       2023-08-28 12:34:39.956636132 +0200
++++ linux/fs/aufs/cpup.c       2023-09-03 02:21:58.859971007 +0200
 @@ -0,0 +1,1459 @@
 +// SPDX-License-Identifier: GPL-2.0
 +/*
@@ -7264,7 +7267,7 @@ diff -urN /usr/share/empty/fs/aufs/dcsub.h linux/fs/aufs/dcsub.h
 +#endif /* __AUFS_DCSUB_H__ */
 diff -urN /usr/share/empty/fs/aufs/debug.c linux/fs/aufs/debug.c
 --- /usr/share/empty/fs/aufs/debug.c   1970-01-01 01:00:00.000000000 +0100
-+++ linux/fs/aufs/debug.c      2023-08-28 12:34:39.956636132 +0200
++++ linux/fs/aufs/debug.c      2023-09-03 02:21:58.859971007 +0200
 @@ -0,0 +1,446 @@
 +// SPDX-License-Identifier: GPL-2.0
 +/*
@@ -7944,7 +7947,7 @@ diff -urN /usr/share/empty/fs/aufs/debug.h linux/fs/aufs/debug.h
 +#endif /* __AUFS_DEBUG_H__ */
 diff -urN /usr/share/empty/fs/aufs/dentry.c linux/fs/aufs/dentry.c
 --- /usr/share/empty/fs/aufs/dentry.c  1970-01-01 01:00:00.000000000 +0100
-+++ linux/fs/aufs/dentry.c     2023-08-28 12:34:39.956636132 +0200
++++ linux/fs/aufs/dentry.c     2023-09-03 02:21:58.859971007 +0200
 @@ -0,0 +1,1168 @@
 +// SPDX-License-Identifier: GPL-2.0
 +/*
@@ -9116,7 +9119,7 @@ diff -urN /usr/share/empty/fs/aufs/dentry.c linux/fs/aufs/dentry.c
 +};
 diff -urN /usr/share/empty/fs/aufs/dentry.h linux/fs/aufs/dentry.h
 --- /usr/share/empty/fs/aufs/dentry.h  1970-01-01 01:00:00.000000000 +0100
-+++ linux/fs/aufs/dentry.h     2023-08-28 12:34:39.956636132 +0200
++++ linux/fs/aufs/dentry.h     2023-09-03 02:21:58.859971007 +0200
 @@ -0,0 +1,270 @@
 +/* SPDX-License-Identifier: GPL-2.0 */
 +/*
@@ -9949,7 +9952,7 @@ diff -urN /usr/share/empty/fs/aufs/dinfo.c linux/fs/aufs/dinfo.c
 +}
 diff -urN /usr/share/empty/fs/aufs/dir.c linux/fs/aufs/dir.c
 --- /usr/share/empty/fs/aufs/dir.c     1970-01-01 01:00:00.000000000 +0100
-+++ linux/fs/aufs/dir.c        2023-08-28 12:34:39.956636132 +0200
++++ linux/fs/aufs/dir.c        2023-09-03 02:21:58.859971007 +0200
 @@ -0,0 +1,765 @@
 +// SPDX-License-Identifier: GPL-2.0
 +/*
@@ -14034,8 +14037,8 @@ diff -urN /usr/share/empty/fs/aufs/fhsm.c linux/fs/aufs/fhsm.c
 +}
 diff -urN /usr/share/empty/fs/aufs/file.c linux/fs/aufs/file.c
 --- /usr/share/empty/fs/aufs/file.c    1970-01-01 01:00:00.000000000 +0100
-+++ linux/fs/aufs/file.c       2022-12-17 09:21:34.799855195 +0100
-@@ -0,0 +1,860 @@
++++ linux/fs/aufs/file.c       2023-09-04 13:39:55.763295607 +0200
+@@ -0,0 +1,865 @@
 +// SPDX-License-Identifier: GPL-2.0
 +/*
 + * Copyright (C) 2005-2022 Junjiro R. Okajima
@@ -14124,6 +14127,11 @@ diff -urN /usr/share/empty/fs/aufs/file.c linux/fs/aufs/file.c
 +      au_lcnt_inc(&br->br_nfiles);
 +      h_path.dentry = h_dentry;
 +      h_path.mnt = au_br_mnt(br);
++      /*
++       * vfs::backing_file_open() looks promising since it can get rid of
++       * mm::vm_prfile approach from my mind.
++       * but I keep current approach for a while.
++       */
 +      h_file = vfsub_dentry_open(&h_path, flags);
 +      if (IS_ERR(h_file))
 +              goto out_br;
@@ -15397,8 +15405,8 @@ diff -urN /usr/share/empty/fs/aufs/finfo.c linux/fs/aufs/finfo.c
 +}
 diff -urN /usr/share/empty/fs/aufs/f_op.c linux/fs/aufs/f_op.c
 --- /usr/share/empty/fs/aufs/f_op.c    1970-01-01 01:00:00.000000000 +0100
-+++ linux/fs/aufs/f_op.c       2023-02-20 21:05:51.959693785 +0100
-@@ -0,0 +1,780 @@
++++ linux/fs/aufs/f_op.c       2023-09-04 13:39:55.763295607 +0200
+@@ -0,0 +1,769 @@
 +// SPDX-License-Identifier: GPL-2.0
 +/*
 + * Copyright (C) 2005-2022 Junjiro R. Okajima
@@ -15792,7 +15800,7 @@ diff -urN /usr/share/empty/fs/aufs/f_op.c linux/fs/aufs/f_op.c
 +      if (IS_ERR(h_file))
 +              goto out;
 +
-+      err = vfsub_splice_to(h_file, ppos, pipe, len, flags);
++      err = vfsub_splice_read(h_file, ppos, pipe, len, flags);
 +      /* todo: necessary? */
 +      /* file->f_ra = h_file->f_ra; */
 +      au_read_post(inode, h_file);
@@ -16137,16 +16145,6 @@ diff -urN /usr/share/empty/fs/aufs/f_op.c linux/fs/aufs/f_op.c
 +
 +/* ---------------------------------------------------------------------- */
 +
-+/* no one supports this operation, currently */
-+#if 0 /* reserved for future use */
-+static ssize_t aufs_sendpage(struct file *file, struct page *page, int offset,
-+                           size_t len, loff_t *pos, int more)
-+{
-+}
-+#endif
-+
-+/* ---------------------------------------------------------------------- */
-+
 +const struct file_operations aufs_file_fop = {
 +      .owner          = THIS_MODULE,
 +
@@ -16168,7 +16166,6 @@ diff -urN /usr/share/empty/fs/aufs/f_op.c linux/fs/aufs/f_op.c
 +      .release        = aufs_release_nondir,
 +      .fsync          = aufs_fsync_nondir,
 +      .fasync         = aufs_fasync,
-+      /* .sendpage    = aufs_sendpage, */
 +      .setfl          = aufs_setfl,
 +      .splice_write   = aufs_splice_write,
 +      .splice_read    = aufs_splice_read,
@@ -19268,7 +19265,7 @@ diff -urN /usr/share/empty/fs/aufs/iinfo.c linux/fs/aufs/iinfo.c
 +}
 diff -urN /usr/share/empty/fs/aufs/inode.c linux/fs/aufs/inode.c
 --- /usr/share/empty/fs/aufs/inode.c   1970-01-01 01:00:00.000000000 +0100
-+++ linux/fs/aufs/inode.c      2023-08-28 12:34:39.956636132 +0200
++++ linux/fs/aufs/inode.c      2023-09-03 02:21:58.863304341 +0200
 @@ -0,0 +1,531 @@
 +// SPDX-License-Identifier: GPL-2.0
 +/*
@@ -19803,7 +19800,7 @@ diff -urN /usr/share/empty/fs/aufs/inode.c linux/fs/aufs/inode.c
 +}
 diff -urN /usr/share/empty/fs/aufs/inode.h linux/fs/aufs/inode.h
 --- /usr/share/empty/fs/aufs/inode.h   1970-01-01 01:00:00.000000000 +0100
-+++ linux/fs/aufs/inode.h      2023-08-28 12:34:39.956636132 +0200
++++ linux/fs/aufs/inode.h      2023-09-03 02:21:58.863304341 +0200
 @@ -0,0 +1,707 @@
 +/* SPDX-License-Identifier: GPL-2.0 */
 +/*
@@ -20738,7 +20735,7 @@ diff -urN /usr/share/empty/fs/aufs/ioctl.c linux/fs/aufs/ioctl.c
 +#endif
 diff -urN /usr/share/empty/fs/aufs/i_op_add.c linux/fs/aufs/i_op_add.c
 --- /usr/share/empty/fs/aufs/i_op_add.c        1970-01-01 01:00:00.000000000 +0100
-+++ linux/fs/aufs/i_op_add.c   2023-08-28 12:34:39.956636132 +0200
++++ linux/fs/aufs/i_op_add.c   2023-09-04 13:39:55.763295607 +0200
 @@ -0,0 +1,972 @@
 +// SPDX-License-Identifier: GPL-2.0
 +/*
@@ -21714,7 +21711,7 @@ diff -urN /usr/share/empty/fs/aufs/i_op_add.c linux/fs/aufs/i_op_add.c
 +}
 diff -urN /usr/share/empty/fs/aufs/i_op.c linux/fs/aufs/i_op.c
 --- /usr/share/empty/fs/aufs/i_op.c    1970-01-01 01:00:00.000000000 +0100
-+++ linux/fs/aufs/i_op.c       2023-08-28 12:34:39.956636132 +0200
++++ linux/fs/aufs/i_op.c       2023-09-03 02:21:58.859971007 +0200
 @@ -0,0 +1,1517 @@
 +// SPDX-License-Identifier: GPL-2.0
 +/*
@@ -23235,7 +23232,7 @@ diff -urN /usr/share/empty/fs/aufs/i_op.c linux/fs/aufs/i_op.c
 +};
 diff -urN /usr/share/empty/fs/aufs/i_op_del.c linux/fs/aufs/i_op_del.c
 --- /usr/share/empty/fs/aufs/i_op_del.c        1970-01-01 01:00:00.000000000 +0100
-+++ linux/fs/aufs/i_op_del.c   2023-08-28 12:34:39.956636132 +0200
++++ linux/fs/aufs/i_op_del.c   2023-09-03 02:21:58.859971007 +0200
 @@ -0,0 +1,522 @@
 +// SPDX-License-Identifier: GPL-2.0
 +/*
@@ -23761,7 +23758,7 @@ diff -urN /usr/share/empty/fs/aufs/i_op_del.c linux/fs/aufs/i_op_del.c
 +}
 diff -urN /usr/share/empty/fs/aufs/i_op_ren.c linux/fs/aufs/i_op_ren.c
 --- /usr/share/empty/fs/aufs/i_op_ren.c        1970-01-01 01:00:00.000000000 +0100
-+++ linux/fs/aufs/i_op_ren.c   2023-08-28 12:34:39.956636132 +0200
++++ linux/fs/aufs/i_op_ren.c   2023-09-03 02:21:58.863304341 +0200
 @@ -0,0 +1,1257 @@
 +// SPDX-License-Identifier: GPL-2.0
 +/*
@@ -28760,7 +28757,7 @@ diff -urN /usr/share/empty/fs/aufs/poll.c linux/fs/aufs/poll.c
 +}
 diff -urN /usr/share/empty/fs/aufs/posix_acl.c linux/fs/aufs/posix_acl.c
 --- /usr/share/empty/fs/aufs/posix_acl.c       1970-01-01 01:00:00.000000000 +0100
-+++ linux/fs/aufs/posix_acl.c  2023-08-28 12:34:39.959969465 +0200
++++ linux/fs/aufs/posix_acl.c  2023-09-03 02:21:58.863304341 +0200
 @@ -0,0 +1,108 @@
 +// SPDX-License-Identifier: GPL-2.0
 +/*
@@ -29046,7 +29043,7 @@ diff -urN /usr/share/empty/fs/aufs/procfs.c linux/fs/aufs/procfs.c
 +}
 diff -urN /usr/share/empty/fs/aufs/rdu.c linux/fs/aufs/rdu.c
 --- /usr/share/empty/fs/aufs/rdu.c     1970-01-01 01:00:00.000000000 +0100
-+++ linux/fs/aufs/rdu.c        2022-12-17 09:21:34.799855195 +0100
++++ linux/fs/aufs/rdu.c        2023-09-04 13:39:55.763295607 +0200
 @@ -0,0 +1,384 @@
 +// SPDX-License-Identifier: GPL-2.0
 +/*
@@ -29200,7 +29197,7 @@ diff -urN /usr/share/empty/fs/aufs/rdu.c linux/fs/aufs/rdu.c
 +      arg.end += rdu->sz;
 +
 +      err = -ENOTDIR;
-+      if (unlikely(!file->f_op->iterate && !file->f_op->iterate_shared))
++      if (unlikely(!file->f_op->iterate_shared))
 +              goto out;
 +
 +      err = security_file_permission(file, MAY_READ);
@@ -32949,7 +32946,7 @@ diff -urN /usr/share/empty/fs/aufs/vdir.c linux/fs/aufs/vdir.c
 +}
 diff -urN /usr/share/empty/fs/aufs/vfsub.c linux/fs/aufs/vfsub.c
 --- /usr/share/empty/fs/aufs/vfsub.c   1970-01-01 01:00:00.000000000 +0100
-+++ linux/fs/aufs/vfsub.c      2023-08-28 12:34:39.999969465 +0200
++++ linux/fs/aufs/vfsub.c      2023-09-04 13:39:55.763295607 +0200
 @@ -0,0 +1,918 @@
 +// SPDX-License-Identifier: GPL-2.0
 +/*
@@ -33564,9 +33561,9 @@ diff -urN /usr/share/empty/fs/aufs/vfsub.c linux/fs/aufs/vfsub.c
 +      return err;
 +}
 +
-+long vfsub_splice_to(struct file *in, loff_t *ppos,
-+                   struct pipe_inode_info *pipe, size_t len,
-+                   unsigned int flags)
++long vfsub_splice_read(struct file *in, loff_t *ppos,
++                     struct pipe_inode_info *pipe, size_t len,
++                     unsigned int flags)
 +{
 +      long err;
 +
@@ -33871,7 +33868,7 @@ diff -urN /usr/share/empty/fs/aufs/vfsub.c linux/fs/aufs/vfsub.c
 +}
 diff -urN /usr/share/empty/fs/aufs/vfsub.h linux/fs/aufs/vfsub.h
 --- /usr/share/empty/fs/aufs/vfsub.h   1970-01-01 01:00:00.000000000 +0100
-+++ linux/fs/aufs/vfsub.h      2023-08-28 12:34:39.999969465 +0200
++++ linux/fs/aufs/vfsub.h      2023-09-04 13:39:55.763295607 +0200
 @@ -0,0 +1,390 @@
 +/* SPDX-License-Identifier: GPL-2.0 */
 +/*
@@ -34124,9 +34121,9 @@ diff -urN /usr/share/empty/fs/aufs/vfsub.h linux/fs/aufs/vfsub.h
 +         struct dentry *h_dentry, umode_t h_mode);
 +#endif
 +
-+long vfsub_splice_to(struct file *in, loff_t *ppos,
-+                   struct pipe_inode_info *pipe, size_t len,
-+                   unsigned int flags);
++long vfsub_splice_read(struct file *in, loff_t *ppos,
++                     struct pipe_inode_info *pipe, size_t len,
++                     unsigned int flags);
 +long vfsub_splice_from(struct pipe_inode_info *pipe, struct file *out,
 +                     loff_t *ppos, size_t len, unsigned int flags);
 +
@@ -35099,7 +35096,7 @@ diff -urN /usr/share/empty/fs/aufs/wbr_policy.c linux/fs/aufs/wbr_policy.c
 +};
 diff -urN /usr/share/empty/fs/aufs/whout.c linux/fs/aufs/whout.c
 --- /usr/share/empty/fs/aufs/whout.c   1970-01-01 01:00:00.000000000 +0100
-+++ linux/fs/aufs/whout.c      2023-08-28 12:34:39.999969465 +0200
++++ linux/fs/aufs/whout.c      2023-09-03 02:21:58.863304341 +0200
 @@ -0,0 +1,1072 @@
 +// SPDX-License-Identifier: GPL-2.0
 +/*
@@ -36175,7 +36172,7 @@ diff -urN /usr/share/empty/fs/aufs/whout.c linux/fs/aufs/whout.c
 +}
 diff -urN /usr/share/empty/fs/aufs/whout.h linux/fs/aufs/whout.h
 --- /usr/share/empty/fs/aufs/whout.h   1970-01-01 01:00:00.000000000 +0100
-+++ linux/fs/aufs/whout.h      2023-08-28 12:34:39.999969465 +0200
++++ linux/fs/aufs/whout.h      2023-09-03 02:21:58.863304341 +0200
 @@ -0,0 +1,87 @@
 +/* SPDX-License-Identifier: GPL-2.0 */
 +/*
@@ -36735,7 +36732,7 @@ diff -urN /usr/share/empty/fs/aufs/wkq.h linux/fs/aufs/wkq.h
 +#endif /* __AUFS_WKQ_H__ */
 diff -urN /usr/share/empty/fs/aufs/xattr.c linux/fs/aufs/xattr.c
 --- /usr/share/empty/fs/aufs/xattr.c   1970-01-01 01:00:00.000000000 +0100
-+++ linux/fs/aufs/xattr.c      2023-08-28 12:34:39.999969465 +0200
++++ linux/fs/aufs/xattr.c      2023-09-03 02:21:58.863304341 +0200
 @@ -0,0 +1,360 @@
 +// SPDX-License-Identifier: GPL-2.0
 +/*
@@ -37099,7 +37096,7 @@ diff -urN /usr/share/empty/fs/aufs/xattr.c linux/fs/aufs/xattr.c
 +}
 diff -urN /usr/share/empty/fs/aufs/xino.c linux/fs/aufs/xino.c
 --- /usr/share/empty/fs/aufs/xino.c    1970-01-01 01:00:00.000000000 +0100
-+++ linux/fs/aufs/xino.c       2023-08-28 12:34:39.999969465 +0200
++++ linux/fs/aufs/xino.c       2023-09-03 02:21:58.863304341 +0200
 @@ -0,0 +1,1926 @@
 +// SPDX-License-Identifier: GPL-2.0
 +/*
@@ -39029,7 +39026,7 @@ diff -urN /usr/share/empty/fs/aufs/xino.c linux/fs/aufs/xino.c
 +}
 diff -urN /usr/share/empty/include/uapi/linux/aufs_type.h linux/include/uapi/linux/aufs_type.h
 --- /usr/share/empty/include/uapi/linux/aufs_type.h    1970-01-01 01:00:00.000000000 +0100
-+++ linux/include/uapi/linux/aufs_type.h       2023-08-28 12:34:41.669969465 +0200
++++ linux/include/uapi/linux/aufs_type.h       2023-09-04 13:40:14.109962274 +0200
 @@ -0,0 +1,452 @@
 +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 +/*
@@ -39073,7 +39070,7 @@ diff -urN /usr/share/empty/include/uapi/linux/aufs_type.h linux/include/uapi/lin
 +#include <limits.h>
 +#endif /* __KERNEL__ */
 +
-+#define AUFS_VERSION  "6.x-rcN-20230828"
++#define AUFS_VERSION  "6.5-20230904"
 +
 +/* todo? move this to linux-2.6.19/include/magic.h */
 +#define AUFS_SUPER_MAGIC      ('a' << 24 | 'u' << 16 | 'f' << 8 | 's')
@@ -39484,10 +39481,10 @@ diff -urN /usr/share/empty/include/uapi/linux/aufs_type.h linux/include/uapi/lin
 +
 +#endif /* __AUFS_TYPE_H__ */
 SPDX-License-Identifier: GPL-2.0
-aufs6.x-rcN loopback patch
+aufs6.5 loopback patch
 
 diff --git a/drivers/block/loop.c b/drivers/block/loop.c
-index 131294601819..56016fc9c9d8 100644
+index cbefd23beb44..53b9f81161d4 100644
 --- a/drivers/block/loop.c
 +++ b/drivers/block/loop.c
 @@ -54,7 +54,7 @@ struct loop_device {
@@ -39569,7 +39566,7 @@ index 131294601819..56016fc9c9d8 100644
        goto done;
  }
  
-@@ -1013,6 +1036,7 @@ static int loop_configure(struct loop_device *lo, fmode_t mode,
+@@ -1013,6 +1036,7 @@ static int loop_configure(struct loop_device *lo, blk_mode_t mode,
                          const struct loop_config *config)
  {
        struct file *file = fget(config->fd);
@@ -39577,7 +39574,7 @@ index 131294601819..56016fc9c9d8 100644
        struct inode *inode;
        struct address_space *mapping;
        int error;
-@@ -1028,6 +1052,13 @@ static int loop_configure(struct loop_device *lo, fmode_t mode,
+@@ -1028,6 +1052,13 @@ static int loop_configure(struct loop_device *lo, blk_mode_t mode,
        /* This is safe, since we have a reference from open(). */
        __module_get(THIS_MODULE);
  
@@ -39591,7 +39588,7 @@ index 131294601819..56016fc9c9d8 100644
        /*
         * If we don't hold exclusive handle for the device, upgrade to it
         * here to avoid changing device under exclusive owner.
-@@ -1091,6 +1122,7 @@ static int loop_configure(struct loop_device *lo, fmode_t mode,
+@@ -1091,6 +1122,7 @@ static int loop_configure(struct loop_device *lo, blk_mode_t mode,
        lo->use_dio = lo->lo_flags & LO_FLAGS_DIRECT_IO;
        lo->lo_device = bdev;
        lo->lo_backing_file = file;
@@ -39599,7 +39596,7 @@ index 131294601819..56016fc9c9d8 100644
        lo->old_gfp_mask = mapping_gfp_mask(mapping);
        mapping_set_gfp_mask(mapping, lo->old_gfp_mask & ~(__GFP_IO|__GFP_FS));
  
-@@ -1146,6 +1178,8 @@ static int loop_configure(struct loop_device *lo, fmode_t mode,
+@@ -1146,6 +1178,8 @@ static int loop_configure(struct loop_device *lo, blk_mode_t mode,
                bd_abort_claiming(bdev, loop_configure);
  out_putf:
        fput(file);
@@ -39608,7 +39605,7 @@ index 131294601819..56016fc9c9d8 100644
        /* This is safe: open() is still holding a reference. */
        module_put(THIS_MODULE);
        return error;
-@@ -1154,6 +1188,7 @@ static int loop_configure(struct loop_device *lo, fmode_t mode,
+@@ -1154,6 +1188,7 @@ static int loop_configure(struct loop_device *lo, blk_mode_t mode,
  static void __loop_clr_fd(struct loop_device *lo, bool release)
  {
        struct file *filp;
@@ -39634,7 +39631,7 @@ index 131294601819..56016fc9c9d8 100644
  
  static int loop_clr_fd(struct loop_device *lo)
 diff --git a/fs/aufs/f_op.c b/fs/aufs/f_op.c
-index 1ed300047a41..ea63191d6473 100644
+index 6b9cfc26b56b..e8878a13a0c8 100644
 --- a/fs/aufs/f_op.c
 +++ b/fs/aufs/f_op.c
 @@ -309,7 +309,7 @@ static ssize_t aufs_read_iter(struct kiocb *kio, struct iov_iter *iov_iter)
@@ -39709,13 +39706,14 @@ index 81922d4faf54..c8a62c267d72 100644
  
  /* ---------------------------------------------------------------------- */
 diff --git a/include/linux/fs.h b/include/linux/fs.h
-index 1e3054e5367d..2a780fcbdc75 100644
+index 5a2db7b8eca5..fc74b8e852c3 100644
 --- a/include/linux/fs.h
 +++ b/include/linux/fs.h
-@@ -1934,6 +1934,10 @@ struct super_operations {
+@@ -1944,6 +1944,11 @@ struct super_operations {
        long (*free_cached_objects)(struct super_block *,
                                    struct shrink_control *);
        void (*shutdown)(struct super_block *sb);
++
 +#if IS_ENABLED(CONFIG_BLK_DEV_LOOP) || IS_ENABLED(CONFIG_BLK_DEV_LOOP_MODULE)
 +      /* and aufs */
 +      struct file *(*real_loop)(struct file *);
index 6349d6e69dd6abb0276e65c3336eab4b815b7e52..14ba055603f21c140225e2a4b086b2c555dde5eb 100755 (executable)
@@ -1,8 +1,8 @@
 #!/bin/sh
 set -xe
 
-#BRANCH=aufs6.4
-BRANCH=aufs6.x-rcN
+BRANCH=aufs6.5
+#BRANCH=aufs6.x-rcN
 
 # aufs6
 [ -d aufs-standalone ] || git clone https://github.com/sfjro/aufs-standalone.git
This page took 2.888441 seconds and 4 git commands to generate.