diff options
author | Jan Kara <jack@suse.cz> | 2016-02-29 08:36:38 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-02-29 08:36:38 +1100 |
commit | 74c66bcb7eda551f3b8588659c58fe29184af903 (patch) | |
tree | 0d1f5bc2cb487890f23caf622138135c54dfd4a5 /fs/xfs | |
parent | c19b104a67b3bb1ac48275a8a1c9df666e676c25 (diff) |
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 'fs/xfs')
0 files changed, 0 insertions, 0 deletions