diff options
author | 2025-02-13 21:45:30 +0000 | |
---|---|---|
committer | 2025-03-16 23:24:12 -0700 | |
commit | dbc3b6320eb3f7d775d4da41de693109060856d6 (patch) | |
tree | 9484c49e8003502d30d43df76cf46d02b87be1c6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ocfs2: validate l_tree_depth to avoid out-of-bounds access (diff) | |
download | wireguard-linux-dbc3b6320eb3f7d775d4da41de693109060856d6.tar.xz wireguard-linux-dbc3b6320eb3f7d775d4da41de693109060856d6.zip |
ocfs2: use memcpy_to_folio() in ocfs2_symlink_get_block()
Replace use of kmap_atomic() with the higher-level construct
memcpy_to_folio(). This removes a use of b_page and supports large folios
as well as being easier to understand. It also removes the check for
kmap_atomic() failing (because it can't).
Link: https://lkml.kernel.org/r/20250213214533.2242224-1-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Cc: Mark Tinguely <mark.tinguely@oracle.com>
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Jun Piao <piaojun@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions