OpenCloudOS-Kernel/fs/ntfs3
Zhang Yi 6bf414a00a ntfs3: replace ll_rw_block()
ll_rw_block() is not safe for the sync read path because it cannot
guarantee that submitting read IO if the buffer has been locked. We
could get false positive EIO after wait_on_buffer() if the buffer has
been locked by others. So stop using ll_rw_block() in
ntfs_get_block_vbo().

Link: https://lkml.kernel.org/r/20220901133505.2510834-8-yi.zhang@huawei.com
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2022-09-11 20:26:07 -07:00
..
lib fs/ntfs3: Add missing header and guards to lib/ headers 2021-09-13 19:41:44 +03:00
Kconfig
Makefile
attrib.c fs/ntfs3: Refactoring attr_insert_range to restore after errors 2022-08-03 18:25:09 +03:00
attrlist.c fs/ntfs3: Add sync flag to ntfs_sb_write_run and al_update 2021-09-21 18:37:01 +03:00
bitfunc.c fs/ntfs3: Remove a useless shadowing variable 2021-09-23 19:05:46 +03:00
bitmap.c fs/ntfs3: Remove unused function wnd_bits 2022-08-10 19:12:48 +03:00
debug.h fs/ntfs3. Add forward declarations for structs to debug.h 2021-09-13 19:41:43 +03:00
dir.c fs/ntfs3: Rework ntfs_utf16_to_nls 2021-10-11 19:28:04 +03:00
file.c ntfs3 for 6.0 2022-08-17 14:51:22 -07:00
frecord.c fs/ntfs3: Make ni_ins_new_attr return error 2022-08-03 18:25:10 +03:00
fslog.c fs/ntfs3: Add missing error check 2022-06-17 19:18:29 +03:00
fsntfs.c ntfs3 for 6.0 2022-08-17 14:51:22 -07:00
index.c fs/ntfs3: extend ni_insert_nonresident to return inserted ATTR_LIST_ENTRY 2022-08-03 18:25:04 +03:00
inode.c ntfs3: replace ll_rw_block() 2022-09-11 20:26:07 -07:00
lznt.c fs/ntfs3: Remove tabs before spaces from comment 2021-09-16 17:01:36 +03:00
namei.c fs/ntfs3: New function ntfs_bad_inode 2022-08-03 18:25:08 +03:00
ntfs.h fs/ntfs3: Change max hardlinks limit to 4000 2021-09-21 18:37:01 +03:00
ntfs_fs.h ntfs3 for 6.0 2022-08-17 14:51:22 -07:00
record.c fs/ntfs3: Remove unused mi_mark_free 2022-08-03 18:25:06 +03:00
run.c fs/ntfs3: Refactoring attr_punch_hole to restore after errors 2022-08-03 18:25:09 +03:00
super.c ntfs3 for 6.0 2022-08-17 14:51:22 -07:00
upcase.c fs/ntfs3: Change right headers to upcase.c 2021-09-13 19:41:45 +03:00
xattr.c fs.idmapped.fixes.v6.0-rc3 2022-08-22 11:33:02 -07:00