diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2013-01-17 16:02:46 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2013-01-17 16:03:17 -0800 |
commit | fcb4cdf5a161495b04a4939297ddc6d8b05cfa20 (patch) | |
tree | d5f9569613791dfe0907c28b1fc5594b2b863664 /core/include/fs.h | |
parent | 193ab58135d38e155e9e04133957f788bef16c1c (diff) | |
download | syslinux-fcb4cdf5a161495b04a4939297ddc6d8b05cfa20.tar.gz |
core/fs: remove some stale functions, inode refcount debug
Remove some stale (16-bit compatibility) functions in fs.c.
Add some debugging for inode refcounts.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'core/include/fs.h')
-rw-r--r-- | core/include/fs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/include/fs.h b/core/include/fs.h index 9d552787..5c13f5b5 100644 --- a/core/include/fs.h +++ b/core/include/fs.h @@ -7,6 +7,7 @@ #include <com32.h> #include <stdio.h> #include <sys/dirent.h> +#include <dprintf.h> #include "core.h" #include "disk.h" @@ -158,6 +159,8 @@ static inline void free_inode(struct inode * inode) static inline struct inode *get_inode(struct inode *inode) { inode->refcnt++; + dprintf("get_inode %p name %s refcnt %d\n", + inode, inode->name, inode->refcnt); return inode; } |