summaryrefslogtreecommitdiffstats
path: root/contrib/syslinux-4.02/core/fs/nonextextent.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/syslinux-4.02/core/fs/nonextextent.c')
-rw-r--r--contrib/syslinux-4.02/core/fs/nonextextent.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/syslinux-4.02/core/fs/nonextextent.c b/contrib/syslinux-4.02/core/fs/nonextextent.c
new file mode 100644
index 0000000..0c1ce2c
--- /dev/null
+++ b/contrib/syslinux-4.02/core/fs/nonextextent.c
@@ -0,0 +1,13 @@
+#include "fs.h"
+
+/*
+ * Use this routine for the next_extent() pointer when we never should
+ * be calling next_extent(), e.g. iso9660.
+ */
+int no_next_extent(struct inode *inode, uint32_t lstart)
+{
+ (void)inode;
+ (void)lstart;
+
+ return -1;
+}