diff options
| author | Jens Axboe <[email protected]> | 2007-10-17 11:02:33 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2007-10-17 11:02:33 +0000 |
| commit | 60573b874b03d22678614ca1e73f6b15c1b53b40 (patch) | |
| tree | eab565cf0b353bcdf7eafb47c5e798318c7c54fd /fs/jbd/commit.c | |
| parent | IA64: iommu uses sg_next with an invalid sg element (diff) | |
| download | kernel-60573b874b03d22678614ca1e73f6b15c1b53b40.tar.gz kernel-60573b874b03d22678614ca1e73f6b15c1b53b40.zip | |
[BLOCK] Clear sg entry before filling in blk_rq_map_sg()
The memset() of the sg entry was originally removed, because it could
overwrite a chain pointer. But it's quite OK to memset() it when we know
it's a valid entry, since it can't contain a chain pointer.
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions
