]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
fix 4.14 and 4.9 btrfs patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jul 2019 18:34:06 +0000 (20:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jul 2019 18:34:06 +0000 (20:34 +0200)
queue-4.14/btrfs-add-missing-inode-version-ctime-and-mtime-updates-when-punching-hole.patch
queue-4.9/btrfs-add-missing-inode-version-ctime-and-mtime-updates-when-punching-hole.patch

index 12124875f2eedb635eaa1eea47e1cac1e351565d..48c2d2d21eca30e23366b87780431169daf53954 100644 (file)
@@ -32,7 +32,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
                 * for detecting, at fsync time, if the inode isn't yet in the
                 * log tree or it's there but not up to date.
                 */
-+              struct timespec64 now = current_time(inode);
++              struct timespec now = current_time(inode);
 +
 +              inode_inc_iversion(inode);
 +              inode->i_mtime = now;
index 800a4b5c5107a64ae3116f6692e83f268dbe0d5f..f31b4b69a8e0b0b1dd9ed7512e1a247589492c87 100644 (file)
@@ -32,7 +32,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
                 * for detecting, at fsync time, if the inode isn't yet in the
                 * log tree or it's there but not up to date.
                 */
-+              struct timespec64 now = current_time(inode);
++              struct timespec now = current_time(inode);
 +
 +              inode_inc_iversion(inode);
 +              inode->i_mtime = now;