diff options
author | Jan Kara <jack@suse.cz> | 2016-02-28 22:36:38 +0100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-02-28 22:36:38 +0100 |
commit | 74c66bcb7eda551f3b8588659c58fe29184af903 (patch) | |
tree | 0d1f5bc2cb487890f23caf622138135c54dfd4a5 /mm | |
parent | xfs: fold xfs_vm_do_dio into xfs_vm_direct_IO (diff) | |
download | linux-74c66bcb7eda551f3b8588659c58fe29184af903.tar.xz linux-74c66bcb7eda551f3b8588659c58fe29184af903.zip |
ext4: Fix data exposure after failed AIO DIO
When AIO DIO fails e.g. due to IO error, we must not convert unwritten
extents as that will expose uninitialized data. Handle this case
by clearing unwritten flag from io_end in case of error and thus
preventing extent conversion.
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions