projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs
[firefly-linux-kernel-4.4.55.git]
/
fs
/
hfs
/
bitmap.c
diff --git
a/fs/hfs/bitmap.c
b/fs/hfs/bitmap.c
index c6e97366e8ac3f362d0f08d63d0234d837e14103..28307bc9ec1ee19a4c4e43eee848d99203049787 100644
(file)
--- a/
fs/hfs/bitmap.c
+++ b/
fs/hfs/bitmap.c
@@
-158,7
+158,7
@@
u32 hfs_vbm_search_free(struct super_block *sb, u32 goal, u32 *num_bits)
}
}
}
}
-
dprint(DBG_
BITMAP, "alloc_bits: %u,%u\n", pos, *num_bits);
+
hfs_dbg(
BITMAP, "alloc_bits: %u,%u\n", pos, *num_bits);
HFS_SB(sb)->free_ablocks -= *num_bits;
hfs_bitmap_dirty(sb);
out:
HFS_SB(sb)->free_ablocks -= *num_bits;
hfs_bitmap_dirty(sb);
out:
@@
-200,7
+200,7
@@
int hfs_clear_vbm_bits(struct super_block *sb, u16 start, u16 count)
if (!count)
return 0;
if (!count)
return 0;
-
dprint(DBG_
BITMAP, "clear_bits: %u,%u\n", start, count);
+
hfs_dbg(
BITMAP, "clear_bits: %u,%u\n", start, count);
/* are all of the bits in range? */
if ((start + count) > HFS_SB(sb)->fs_ablocks)
return -2;
/* are all of the bits in range? */
if ((start + count) > HFS_SB(sb)->fs_ablocks)
return -2;