diff options
| author | Ritesh Harjani (IBM) <[email protected]> | 2024-11-05 00:22:58 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2024-11-06 00:20:40 +0000 |
| commit | 43c696f9d094061e958e31be7f1dae66bc25d389 (patch) | |
| tree | f16a5927f790e4293b8b6df193e2c7b91cfffb32 /fs/ext4/fast_commit.c | |
| parent | ext4: Add statx support for atomic writes (diff) | |
| download | kernel-43c696f9d094061e958e31be7f1dae66bc25d389.tar.gz kernel-43c696f9d094061e958e31be7f1dae66bc25d389.zip | |
ext4: Check for atomic writes support in write iter
Let's validate the given constraints for atomic write request.
Otherwise it will fail with -EINVAL. Currently atomic write is only
supported on DIO, so for buffered-io it will return -EOPNOTSUPP.
Reviewed-by: John Garry <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Ritesh Harjani (IBM) <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions
