]> git.karo-electronics.de Git - linux-beck.git/commit
jffs2: fix error value sign
authorVasiliy Kulikov <segoon@openwall.com>
Sun, 14 Nov 2010 20:08:39 +0000 (23:08 +0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 3 Dec 2010 16:30:08 +0000 (16:30 +0000)
commitf326966b3df47f4fa7e90425f60efdd30c31fe19
treeddcdba70b6623d3d6575a2b9c2b609a397ff85ac
parent23079f94daabc4e06436ab2b643fac31dec017d1
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>
fs/jffs2/xattr.c