shithub: lwext4

Download patch

ref: 6c2c498a33955b14bc082fd896a3caa57b004115
parent: a1504e63d4fd0852c4203f43a1bcb4fb7d425aa2
author: root <[email protected]>
date: Mon Oct 5 18:50:16 EDT 2015

Line 518 of ext4_xattr:
ret = ext4_block_get(xattr_ref->fs->bdev,
&xattr_ref->inode_ref->block,
xattr_block);

Should be &xattr_ref->block.

--- a/lwext4/ext4_xattr.c
+++ b/lwext4/ext4_xattr.c
@@ -515,7 +515,7 @@
 			goto Finish;
 
 		ret = ext4_block_get(xattr_ref->fs->bdev,
-				&xattr_ref->inode_ref->block,
+				&xattr_ref->block,
 				xattr_block);
 		if (ret != EOK) {
 			ext4_balloc_free_block(xattr_ref->inode_ref,