[Ocfs2-tools-devel] [PATCH] libocfs2: call read_blocks with fs in read_xattr_block.

Tao Ma tao.ma at oracle.com
Tue Jul 28 02:01:26 PDT 2009


ocfs2_read_blocks's 1st parameter is ocfs2_filesys.

Signed-off-by: Tao Ma <tao.ma at oracle.com>
---
 libocfs2/xattr.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libocfs2/xattr.c b/libocfs2/xattr.c
index d217ff0..5f1a645 100644
--- a/libocfs2/xattr.c
+++ b/libocfs2/xattr.c
@@ -212,7 +212,7 @@ errcode_t ocfs2_read_xattr_block(ocfs2_filesys *fs,
 	if (ret)
 		return ret;
 
-	ret = ocfs2_read_blocks(fs->fs_io, blkno, 1, blk);
+	ret = ocfs2_read_blocks(fs, blkno, 1, blk);
 	if (ret)
 		goto out;
 
@@ -380,7 +380,7 @@ errcode_t ocfs2_read_xattr_bucket(ocfs2_filesys *fs,
 	if (ret)
 		return ret;
 
-	ret = ocfs2_read_blocks(fs->fs_io, blkno, blk_per_bucket, bucket);
+	ret = ocfs2_read_blocks(fs, blkno, blk_per_bucket, bucket);
 	if (ret)
 		goto out;
 
-- 
1.6.2.rc2.16.gf474c




More information about the Ocfs2-tools-devel mailing list