summaryrefslogtreecommitdiff
path: root/core/include/fs.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-03-09 15:48:24 -0800
committerH. Peter Anvin <hpa@zytor.com>2010-03-09 15:48:24 -0800
commit16b6c207e7c68982ae7e51e51c51773df67a910d (patch)
tree68bb84ca39593dbd96146170ae83d0c1bdffbc18 /core/include/fs.h
parentc928c768b17da550ed99150bbcef08d13e5521dd (diff)
downloadsyslinux-16b6c207e7c68982ae7e51e51c51773df67a910d.tar.gz
fs: get rid of enum inode_mode
Replace enum inode_mode with the equivalent enum dirent_type.
Diffstat (limited to 'core/include/fs.h')
-rw-r--r--core/include/fs.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/core/include/fs.h b/core/include/fs.h
index fb12ce3c..f1d35bbb 100644
--- a/core/include/fs.h
+++ b/core/include/fs.h
@@ -73,19 +73,6 @@ struct fs_ops {
int (*next_extent)(struct inode *, uint32_t);
};
-/* XXX: merge this with enum dirent_types */
-enum inode_mode {
- I_UNKNOWN = 0,
- I_FIFO = 1,
- I_CHR = 2,
- I_DIR = 4,
- I_BLK = 6,
- I_FILE = 8,
- I_SYMLINK = 10,
- I_SOCK = 12,
- I_WHT = 14,
-};
-
/*
* Extent structure: contains the mapping of some chunk of a file
* that is contiguous on disk.