commit | f326966b3df47f4fa7e90425f60efdd30c31fe19 | [log] [tgz] |
---|---|---|
author | Vasiliy Kulikov <segoon@openwall.com> | Sun Nov 14 23:08:39 2010 +0300 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Fri Dec 03 16:30:08 2010 +0000 |
tree | ddcdba70b6623d3d6575a2b9c2b609a397ff85ac | |
parent | 23079f94daabc4e06436ab2b643fac31dec017d1 [diff] |
jffs2: fix error value sign do_verify_xattr_datum(), do_load_xattr_datum(), load_xattr_datum() and verify_xattr_ref() should return negative value on error. Sometimes they return EIO that is positive. Change this to -EIO. Signed-off-by: Vasiliy Kulikov <segoon@openwall.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>