reiserfs: use get/put_endian helpers
PATCH 32/37 reiserfs: use get/put_endian helpers
Signed-off-by Harvey Harrison <[email protected]>
--- fs/reiserfs/super.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
fs/reiserfs/super.c +1 -1
@@ -221,7 +221,7 @@ static int finish_unfinished(struct super_block *s)/* reiserfs_iget needs k_dirid and k_objectid only */ item =B_I_PITEM (bh, ih); - obj_key.on_disk_key.k_dir_id =le32_to_cpu (*(__le32 *) item); + obj_key.on_disk_key.k_dir_id =get_le32 ((__le32 *)item); obj_key.on_disk_key.k_objectid =le32_to_cpu (ih->ih_key.k_objectid); obj_key.on_disk_key.k_offset =0 ;
Signature · 1 line
1.5.6.rc0.277.g804cf