# 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-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 14e3e989f6a5d9646b6cf60690499cc8bdc11f7d # < make -s -j 24 ARCH=powerpc O=/kisskb/build/linus_pseries_le_defconfig+NO_SPLPAR_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pseries_le_defconfig # Added to kconfig CONFIG_PPC_SPLPAR=n # < make -s -j 24 ARCH=powerpc O=/kisskb/build/linus_pseries_le_defconfig+NO_SPLPAR_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/linus_pseries_le_defconfig+NO_SPLPAR_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/linus_pseries_le_defconfig+NO_SPLPAR_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/linus_pseries_le_defconfig+NO_SPLPAR_powerpc-gcc5 # Build took: 0:03:46.985412