summaryrefslogtreecommitdiff
path: root/core/include/fs.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-02-28 21:55:59 -0800
committerH. Peter Anvin <hpa@zytor.com>2010-02-28 21:55:59 -0800
commiteb7a9ee9c66d11a0c5cb5bfc363a2c82e015d2b0 (patch)
treee4b8db2b5cbd78c20e5d6b4420503b0a7c6f7de6 /core/include/fs.h
parent7e5ed28c5bd515ceabac8bc8575f7515ecebb9b6 (diff)
downloadsyslinux-eb7a9ee9c66d11a0c5cb5bfc363a2c82e015d2b0.tar.gz
fs: add no_next_extent() dummy function
Add a no_next_extent() dummy function for filesystems (like iso9660) which should never end up calling next_extent (because there is only one extent...) Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/include/fs.h')
-rw-r--r--core/include/fs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/include/fs.h b/core/include/fs.h
index 4aca7fc4..c210288b 100644
--- a/core/include/fs.h
+++ b/core/include/fs.h
@@ -227,4 +227,7 @@ void generic_close_file(struct file *file);
uint32_t generic_getfssec(struct file *file, char *buf,
int sectors, bool *have_more);
+/* nonextextent.c */
+int no_next_extent(struct inode *, uint32_t);
+
#endif /* FS_H */