diff options
author | 2023-08-17 17:13:33 +0300 | |
---|---|---|
committer | 2023-08-21 17:27:26 +0200 | |
commit | ed0360bbab72b829437b67ebb2f9cfac19f59dfe (patch) | |
tree | 190e726a338575211a54d4cb25f9ebbefd90c2fb /tools/perf/scripts/python | |
parent | fs: add kerneldoc to file_{start,end}_write() helpers (diff) | |
download | wireguard-linux-ed0360bbab72b829437b67ebb2f9cfac19f59dfe.tar.xz wireguard-linux-ed0360bbab72b829437b67ebb2f9cfac19f59dfe.zip |
fs: create kiocb_{start,end}_write() helpers
aio, io_uring, cachefiles and overlayfs, all open code an ugly variant
of file_{start,end}_write() to silence lockdep warnings.
Create helpers for this lockdep dance so we can use the helpers in all
the callers.
Suggested-by: Jan Kara <jack@suse.cz>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Message-Id: <20230817141337.1025891-4-amir73il@gmail.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions