OpenCloudOS-Kernel/fs/ext2
Ritesh Harjani (IBM) c5b09a65b4 ext2: Fix ki_pos update for DIO buffered-io fallback case
commit 8abc712ea4867a81c860853048f24e511bbc20f2 upstream.

Commit "filemap: update ki_pos in generic_perform_write", made updating
of ki_pos into common code in generic_perform_write() function.
This also causes generic/091 to fail.
This happened due to an in-flight collision with:
fb5de4358e ("ext2: Move direct-io to use iomap"). I have chosen fixes tag
based on which commit got landed later to upstream kernel.

Fixes: 182c25e9c1 ("filemap: update ki_pos in generic_perform_write")
Cc: stable@vger.kernel.org
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Message-Id: <d595bee9f2475ed0e8a2e7fb94f7afc2c6ffc36a.1700643443.git.ritesh.list@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-12-08 08:52:19 +01:00
..
Kconfig fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
Makefile ext2: Add direct-io trace points 2023-05-16 11:32:42 +02:00
acl.c ext2: convert to ctime accessor functions 2023-07-13 10:28:07 +02:00
acl.h fs: port ->set_acl() to pass mnt_idmap 2023-01-19 09:24:27 +01:00
balloc.c \n 2023-08-30 12:10:50 -07:00
dir.c ext2: convert to ctime accessor functions 2023-07-13 10:28:07 +02:00
ext2.h ext2: improve consistency of ext2_fsblk_t datatype usage 2023-08-18 12:54:54 +02:00
file.c ext2: Fix ki_pos update for DIO buffered-io fallback case 2023-12-08 08:52:19 +01:00
ialloc.c \n 2023-08-30 12:10:50 -07:00
inode.c \n 2023-08-30 12:10:50 -07:00
ioctl.c ext2: convert to ctime accessor functions 2023-07-13 10:28:07 +02:00
namei.c ext2: convert to ctime accessor functions 2023-07-13 10:28:07 +02:00
super.c ext2: convert to ctime accessor functions 2023-07-13 10:28:07 +02:00
symlink.c ext2: code cleanup by removing ifdef macro surrounding 2020-05-22 15:11:00 +02:00
trace.c ext2: Add direct-io trace points 2023-05-16 11:32:42 +02:00
trace.h ext2: Add direct-io trace points 2023-05-16 11:32:42 +02:00
xattr.c \n 2023-08-30 12:10:50 -07:00
xattr.h ext2: code cleanup by removing ifdef macro surrounding 2020-05-22 15:11:00 +02:00
xattr_security.c fs: port xattr to mnt_idmap 2023-01-19 09:24:28 +01:00
xattr_trusted.c fs: port xattr to mnt_idmap 2023-01-19 09:24:28 +01:00
xattr_user.c fs: port xattr to mnt_idmap 2023-01-19 09:24:28 +01:00