diff options
| author | Ritesh Harjani (IBM) <[email protected]> | 2025-05-15 19:50:50 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2025-05-20 14:31:12 +0000 |
| commit | 1c972b1d13dde34c9897d991283e2c54209b44e9 (patch) | |
| tree | f22e562208dfb6a69ffaf31e1ab96574a13485c5 /lib/dynamic_debug.c | |
| parent | ext4: Document an edge case for overwrites (diff) | |
| download | kernel-1c972b1d13dde34c9897d991283e2c54209b44e9.tar.gz kernel-1c972b1d13dde34c9897d991283e2c54209b44e9.zip | |
ext4: Check if inode uses extents in ext4_inode_can_atomic_write()
EXT4 only supports doing atomic write on inodes which uses extents, so
add a check in ext4_inode_can_atomic_write() which gets called during
open.
Reviewed-by: Ojaswin Mujoo <[email protected]>
Acked-by: Darrick J. Wong <[email protected]>
Signed-off-by: Ritesh Harjani (IBM) <[email protected]>
Link: https://patch.msgid.link/86bb502c979398a736ab371d8f35f6866a477f6c.1747337952.git.ritesh.list@gmail.com
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
