diff options
author | John Garry <[email protected]> | 2024-10-19 12:51:06 +0000 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-10-19 16:48:21 -0600 |
commit | 9a8dbdadae509e5717ff6e5aa572ca0974d2101d (patch) | |
tree | 7266ec84c3309756d5627e519da531102d43fa89 /scripts/generate_rust_analyzer.py | |
parent | 9852d85ec9d492ebef56dc5f229416c925758edc (diff) |
block/fs: Pass an iocb to generic_atomic_write_valid()
Darrick and Hannes both thought it better that generic_atomic_write_valid()
should be passed a struct iocb, and not just the member of that struct
which is referenced; see [0] and [1].
I think that makes a more generic and clean API, so make that change.
[0] https://lore.kernel.org/linux-block/[email protected]/
[1] https://lore.kernel.org/linux-xfs/20240620212401.GA3058325@frogsfrogsfrogs/
Fixes: c34fc6f26ab8 ("fs: Initial atomic write support")
Suggested-by: Darrick J. Wong <[email protected]>
Suggested-by: Hannes Reinecke <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: John Garry <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions