isofs: use get/put_endian helpers
Subsystems (2)
PATCH 28/37 isofs: use get/put_endian helpers
Signed-off-by Harvey Harrison <[email protected]>
--- fs/isofs/compress.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
fs/isofs/compress.c +2 -2
@@ -124,7 +124,7 @@ static int zisofs_readpage(struct file *file, struct page *page)brelse (ptrbh[1 ]); goto eio; } - cstart =le32_to_cpu (*(__le32 *)(bh->b_data + (blockptr & bufmask))); + cstart =get_le32 ((__le32 *)(bh->b_data + (blockptr & bufmask)));if ( indexblocks ==2 ) {/* We just crossed a block boundary. Switch to the next block */
@@ -136,7 +136,7 @@ static int zisofs_readpage(struct file *file, struct page *page) goto eio; } } - cend =le32_to_cpu (*(__le32 *)(bh->b_data + (blockendptr & bufmask))); + cend =get_le32 ((__le32 *)(bh->b_data + (blockendptr & bufmask)));brelse (bh);if (cstart > cend)
Signature · 1 line
1.5.6.rc0.277.g804cf