# git rev-parse -q --verify a27648c742104a833a01c54becc24429898d85bf^{commit} a27648c742104a833a01c54becc24429898d85bf already have revision, skipping fetch # git checkout -q -f -B kisskb a27648c742104a833a01c54becc24429898d85bf # git clean -qxdf # < git log -1 # commit a27648c742104a833a01c54becc24429898d85bf # Author: David Howells # Date: Wed Jun 7 09:47:13 2023 +0100 # # afs: Fix setting of mtime when creating a file/dir/symlink # # kafs incorrectly passes a zero mtime (ie. 1st Jan 1970) to the server when # creating a file, dir or symlink because the mtime recorded in the # afs_operation struct gets passed to the server by the marshalling routines, # but the afs_mkdir(), afs_create() and afs_symlink() functions don't set it. # # This gets masked if a file or directory is subsequently modified. # # Fix this by filling in op->mtime before calling the create op. # # Fixes: e49c7b2f6de7 ("afs: Build an abstraction around an "operation" concept") # Signed-off-by: David Howells # Reviewed-by: Jeffrey Altman # Reviewed-by: Marc Dionne # cc: linux-afs@lists.infradead.org # cc: linux-fsdevel@vger.kernel.org # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 a27648c742104a833a01c54becc24429898d85bf # make -s -j 32 ARCH=um O=/kisskb/build/linus_defconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 defconfig # < make -s -j 32 ARCH=um O=/kisskb/build/linus_defconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 help # make -s -j 32 ARCH=um O=/kisskb/build/linus_defconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 olddefconfig # make -s -j 32 ARCH=um O=/kisskb/build/linus_defconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 /kisskb/src/arch/um/os-Linux/util.c:17:24: fatal error: sys/random.h: No such file or directory compilation terminated. make[3]: *** [/kisskb/src/scripts/Makefile.build:252: arch/um/os-Linux/util.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:494: arch/um/os-Linux] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:2026: .] Error 2 make: *** [Makefile:226: __sub-make] Error 2 Command 'make -s -j 32 ARCH=um O=/kisskb/build/linus_defconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 ' returned non-zero exit status 2. # rm -rf /kisskb/build/linus_defconfig_um-x86_64 # Build took: 0:00:26.329933