Re: [2.6 patch] fs/hfsplus/: move the hfsplus_inode_check() prototypeto hfsplus_fs.h

From: Roman Zippel
Date: Wed Dec 14 2005 - 17:27:03 EST


Hi,

On Tue, 13 Dec 2005, Adrian Bunk wrote:

> --- linux-2.6.15-rc2-mm1-full/fs/hfsplus/inode.c.old 2005-11-23 16:37:34.000000000 +0100
> +++ linux-2.6.15-rc2-mm1-full/fs/hfsplus/inode.c 2005-11-23 16:37:48.000000000 +0100
> @@ -183,7 +183,6 @@
> hlist_add_head(&inode->i_hash, &HFSPLUS_SB(sb).rsrc_inodes);
> mark_inode_dirty(inode);
> {
> - void hfsplus_inode_check(struct super_block *sb);
> atomic_inc(&HFSPLUS_SB(sb).inode_cnt);
> hfsplus_inode_check(sb);
> }
> @@ -322,7 +321,6 @@
> return NULL;
>
> {
> - void hfsplus_inode_check(struct super_block *sb);
> atomic_inc(&HFSPLUS_SB(sb).inode_cnt);
> hfsplus_inode_check(sb);
> }

As this is only a debug function I don't see much point in cleaning it up.
I'd rather remove it completely (including all references to
last_inode_cnt and inode_cnt).

bye, Roman
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/