summaryrefslogtreecommitdiffstats
path: root/sys/fs/ext2fs/ext2_extern.h
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2014-12-23 03:24:16 +0000
committerpfg <pfg@FreeBSD.org>2014-12-23 03:24:16 +0000
commit5b60997187898949d337bb4868b3f0c51b59154b (patch)
tree1cf92ccc8939e8fb81fce245e732be99e24c1755 /sys/fs/ext2fs/ext2_extern.h
parent7b207849cbad77ed6a3972f8b30f8efb007f8d17 (diff)
downloadFreeBSD-src-5b60997187898949d337bb4868b3f0c51b59154b.zip
FreeBSD-src-5b60997187898949d337bb4868b3f0c51b59154b.tar.gz
MFC r274437;
ifdef ext2_print_inode which is not really used. ext2_print_inode was nice to have for initial development work but is not really used anymore. #ifdef it under a new EXT2FS_DEBUG knob so that we don't spend time compiling it.
Diffstat (limited to 'sys/fs/ext2fs/ext2_extern.h')
-rw-r--r--sys/fs/ext2fs/ext2_extern.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/fs/ext2fs/ext2_extern.h b/sys/fs/ext2fs/ext2_extern.h
index 5edac90..93bd3f7 100644
--- a/sys/fs/ext2fs/ext2_extern.h
+++ b/sys/fs/ext2fs/ext2_extern.h
@@ -74,7 +74,9 @@ int ext2_vfree(struct vnode *, ino_t, int);
int ext2_vinit(struct mount *, struct vop_vector *, struct vnode **vpp);
int ext2_lookup(struct vop_cachedlookup_args *);
int ext2_readdir(struct vop_readdir_args *);
+#ifdef EXT2FS_DEBUG
void ext2_print_inode(struct inode *);
+#endif
int ext2_direnter(struct inode *,
struct vnode *, struct componentname *);
int ext2_dirremove(struct vnode *, struct componentname *);
OpenPOWER on IntegriCloud