Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 2 Apr 2022 02:57:03 +0000 (19:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 2 Apr 2022 02:57:03 +0000 (19:57 -0700)
Pull vfs updates from Al Viro:
 "Assorted bits and pieces"

* 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
  aio: drop needless assignment in aio_read()
  clean overflow checks in count_mounts() a bit
  seq_file: fix NULL pointer arithmetic warning
  uml/x86: use x86 load_unaligned_zeropad()
  asm/user.h: killed unused macros
  constify struct path argument of finish_automount()/do_add_mount()
  fs: Remove FIXME comment in generic_write_checks()

1  2 
arch/um/include/asm/Kbuild
arch/x86/um/Kconfig
fs/aio.c
fs/internal.h
fs/kernfs/file.c
fs/namespace.c
fs/read_write.c

Simple merge
@@@ -8,7 -8,7 +8,8 @@@ endmen
  
  config UML_X86
        def_bool y
 +      select ARCH_BINFMT_ELF_EXTRA_PHDRS if X86_32
+       select DCACHE_WORD_ACCESS
  
  config 64BIT
        bool "64-bit kernel" if "$(SUBARCH)" = "x86"
diff --cc fs/aio.c
Simple merge
diff --cc fs/internal.h
Simple merge
Simple merge
diff --cc fs/namespace.c
Simple merge
diff --cc fs/read_write.c
@@@ -1627,10 -1634,9 +1627,9 @@@ int generic_write_checks_count(struct k
        if (IS_SWAPFILE(inode))
                return -ETXTBSY;
  
 -      if (!iov_iter_count(from))
 +      if (!*count)
                return 0;
  
-       /* FIXME: this is for backwards compatibility with 2.4 */
        if (iocb->ki_flags & IOCB_APPEND)
                iocb->ki_pos = i_size_read(inode);