# git rev-parse -q --verify 14e3e989f6a5d9646b6cf60690499cc8bdc11f7d^{commit} 14e3e989f6a5d9646b6cf60690499cc8bdc11f7d already have revision, skipping fetch # git checkout -q -f -B kisskb 14e3e989f6a5d9646b6cf60690499cc8bdc11f7d # git clean -qxdf # < git log -1 # commit 14e3e989f6a5d9646b6cf60690499cc8bdc11f7d # Author: Linus Torvalds # Date: Sun Dec 27 10:56:33 2020 -0800 # # proc mountinfo: make splice available again # # Since commit 36e2c7421f02 ("fs: don't allow splice read/write without # explicit ops") we've required that file operation structures explicitly # enable splice support, rather than falling back to the default handlers. # # Most /proc files use the indirect 'struct proc_ops' to describe their # file operations, and were fixed up to support splice earlier in commits # 40be821d627c..b24c30c67863, but the mountinfo files interact with the # VFS directly using their own 'struct file_operations' and got missed as # a result. # # This adds the necessary support for splice to work for /proc/*/mountinfo # and friends. # # Reported-by: Joan Bruguera Micó # Reported-by: Jussi Kivilinna # Link: https://bugzilla.kernel.org/show_bug.cgi?id=209971 # Cc: Greg Kroah-Hartman # Cc: Christoph Hellwig # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi-ld --version # < git log --format=%s --max-count=1 14e3e989f6a5d9646b6cf60690499cc8bdc11f7d # < make -s -j 24 ARCH=arm O=/kisskb/build/linus_neponset_defconfig_arm-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi- neponset_defconfig # < make -s -j 24 ARCH=arm O=/kisskb/build/linus_neponset_defconfig_arm-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi- help # make -s -j 24 ARCH=arm O=/kisskb/build/linus_neponset_defconfig_arm-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi- olddefconfig # make -s -j 24 ARCH=arm O=/kisskb/build/linus_neponset_defconfig_arm-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi- Completed OK # rm -rf /kisskb/build/linus_neponset_defconfig_arm-gcc4.9 # Build took: 0:00:54.547773