ref: 0c223f83c3592dca2c70697b058095b5c404c740
parent: ea294e2a51a8de3daf27e0cf2aa57142bf4b0850
author: Kaho Ng <[email protected]>
date: Fri May 27 05:54:54 EDT 2016
ext4_xattr: fix not considering iter()'s return value
--- a/src/ext4_xattr.c
+++ b/src/ext4_xattr.c
@@ -865,7 +865,7 @@
{
int ret = EXT4_XATTR_ITERATE_CONT;
if (iter)
- iter(ref, item);
+ ret = iter(ref, item);
if (ret != EXT4_XATTR_ITERATE_CONT) {
if (ret == EXT4_XATTR_ITERATE_STOP)