diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2006-12-04 15:40:54 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2006-12-04 15:40:54 +0100 |
commit | ce26a8532fd062ccd3f3c589a4be269a2dc20f00 (patch) | |
tree | dba7b023453f6077bafb750cf7fd55c040723907 /fs/jffs2/background.c | |
parent | 09252e77ed13b1b412329825bad5797fbdd5a5c8 (diff) |
[S390] cio: Make ccw_dev_id_is_equal() more robust.
Using memcmp to compare ccw_dev_id implies that the whole structure (incl.
padding) has always been completely initialized to sane values. Comparing
the structures field by field doesn't make such assumptions.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'fs/jffs2/background.c')
0 files changed, 0 insertions, 0 deletions