From 293df1f5ff3757b0c9c8aa9f2efdad9856592290 Mon Sep 17 00:00:00 2001 From: Alexander Viro Date: Sat, 4 Sep 2004 06:42:57 -0700 Subject: [PATCH] [PATCH] quota minor endianness fixes missing le32_to_cpu() in printk Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- fs/quota_v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/quota_v2.c b/fs/quota_v2.c index 679d31aca091c..bcbce565cf6c7 100644 --- a/fs/quota_v2.c +++ b/fs/quota_v2.c @@ -383,7 +383,7 @@ static int do_insert_tree(struct dquot *dquot, uint *treeblk, int depth) if (depth == V2_DQTREEDEPTH-1) { #ifdef __QUOTA_V2_PARANOIA if (newblk) { - printk(KERN_ERR "VFS: Inserting already present quota entry (block %u).\n", ref[GETIDINDEX(dquot->dq_id, depth)]); + printk(KERN_ERR "VFS: Inserting already present quota entry (block %u).\n", le32_to_cpu(ref[GETIDINDEX(dquot->dq_id, depth)])); ret = -EIO; goto out_buf; } -- 2.53.0