# 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/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 14e3e989f6a5d9646b6cf60690499cc8bdc11f7d # < make -s -j 120 ARCH=powerpc O=/kisskb/build/linus_ppc64_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/linus_ppc64_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/fs/btrfs/tree-checker.c: In function 'check_root_item': /kisskb/src/fs/btrfs/tree-checker.c:1064:9: warning: missing braces around initializer [-Wmissing-braces] struct btrfs_root_item ri = { 0 }; ^ /kisskb/src/fs/btrfs/tree-checker.c:1064:9: warning: (near initialization for 'ri.inode') [-Wmissing-braces] /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/sge.c: In function 'cxgb4_write_partial_sgl': /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/sge.c:910:9: warning: missing braces around initializer [-Wmissing-braces] struct ulptx_sge_pair buf[MAX_SKB_FRAGS / 2 + 1] = {0}, *to; ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/sge.c:910:9: warning: (near initialization for 'buf[0]') [-Wmissing-braces] Completed OK # rm -rf /kisskb/build/linus_ppc64_defconfig_powerpc-gcc4.9 # Build took: 0:02:09.043277