]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ocfs2: fix typo in ocfs2_reserve_local_alloc_bits
authorJoseph Qi <joseph.qi@huawei.com>
Tue, 7 Apr 2015 23:43:54 +0000 (09:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 7 Apr 2015 23:43:54 +0000 (09:43 +1000)
In ocfs2_reserve_local_alloc_bits, it calls ocfs2_error if local alloc
inode bitmap used bits mismatch, but the log mistakes it as free bits.

Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/ocfs2/localalloc.c

index 0440134556216d4b12a00168253b9b9446ff7312..096cff6f9ba8e59448f04b4b0116ab9d525fb29e 100644 (file)
@@ -666,7 +666,7 @@ int ocfs2_reserve_local_alloc_bits(struct ocfs2_super *osb,
        if (le32_to_cpu(alloc->id1.bitmap1.i_used) !=
            ocfs2_local_alloc_count_bits(alloc)) {
                ocfs2_error(osb->sb, "local alloc inode %llu says it has "
-                           "%u free bits, but a count shows %u",
+                           "%u used bits, but a count shows %u",
                            (unsigned long long)le64_to_cpu(alloc->i_blkno),
                            le32_to_cpu(alloc->id1.bitmap1.i_used),
                            ocfs2_local_alloc_count_bits(alloc));