Get rid of file system "dump" operations because they weren't useful
[pintos-anon] / src / filesys / directory.h
index 6503a309e0887cb041a86db36e87fecf19b4e79a..c773887b6b57e920d59e7ddadf50502c7cf8fe30 100644 (file)
@@ -5,9 +5,10 @@
 #include <stddef.h>
 #include "devices/disk.h"
 
-/* Maximum length of a filename.
-   This is the traditional UNIX maximum.
-   (This macro name comes from POSIX.1.) */
+/* Maximum length of a file name component.
+   This is the traditional UNIX maximum length.
+   After directories are implemented, this maximum length may be
+   retained, but much longer full path names must be allowed. */
 #define NAME_MAX 14
 
 struct file;
@@ -20,6 +21,5 @@ bool dir_lookup (const struct dir *, const char *name, disk_sector_t *);
 bool dir_add (struct dir *, const char *name, disk_sector_t);
 bool dir_remove (struct dir *, const char *name);
 void dir_list (const struct dir *);
-void dir_dump (const struct dir *);
 
 #endif /* filesys/directory.h */