# 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/korg/gcc-11.3.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/aarch64-linux/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 a27648c742104a833a01c54becc24429898d85bf # make -s -j 160 ARCH=arm64 O=/kisskb/build/linus_allmodconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/aarch64-linux/bin/aarch64-linux- allmodconfig # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig # < make -s -j 160 ARCH=arm64 O=/kisskb/build/linus_allmodconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/aarch64-linux/bin/aarch64-linux- help # make -s -j 160 ARCH=arm64 O=/kisskb/build/linus_allmodconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/aarch64-linux/bin/aarch64-linux- olddefconfig # make -s -j 160 ARCH=arm64 O=/kisskb/build/linus_allmodconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/aarch64-linux/bin/aarch64-linux- Completed OK # rm -rf /kisskb/build/linus_allmodconfig_arm64-gcc11 # Build took: 0:22:15.908875